Question: 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

Question 2Choose an appropriate model to determine if there is family income

@ 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!