Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 2 Choose an appropriate model to determine if there is family income (FamilyIncome) difference between families with kids and families without kids? (Note: There

Question 2

Choose an appropriate model to determine if there is family income (FamilyIncome) difference between families with kids and families without kids? (Note: There is currently no column holding data about whether a family has kids. You may want to use the with() function in R to populate a new column to hold the binary answers.)

I am using t.test, but I need help using the with() function, and interpreting results. (Mainly the with() function)

Dataset - https://docs.google.com/spreadsheets/d/1WvWeKxEhBnOAmYW4SeE5imDFN79MEV0srB_gOvC4yBY/edit?usp=sharing

image text in transcribed
@ Untitled1* * Source on Save Q 7 -[ Run Source # Loading the data WNH ny_data 0, 1, 0) 5 # Model the t. test 6 mode 12 ny_data # Binary results for children in household ny_data$Haskids 0, 1, 0) ># Model the t. test model2 mode 12 Welch Two Sample t-test data: FamilyIncome by Haskids t = -5.7821, df = 21093, p-value = 7. 482e-09 alternative hypothesis: true difference in means between group 0 and group 1 is not equal to 0 95 percent confidence interval: -10412. 235 -5140.124 sample estimates : mean in group 0 mean in group 1 106584.9 11436

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Probability and Random Processes With Applications to Signal Processing and Communications

Authors: Scott Miller, Donald Childers

2nd edition

123869811, 978-0121726515, 121726517, 978-0130200716, 978-0123869814

More Books

Students also viewed these Mathematics questions

Question

crops, but good news for other growers. Addiction and Elasticity

Answered: 1 week ago