The American Community Survey of New York data describe a family’s economic, housing, and demographic information such as yearly incomes, family type (married, female head, male head, etc), number of people, number of children, if the family is living on FoodStamp (1=Yes, 0=No), number of people who are currently employed, etc. Use this data set to answer the following questions:
Questions:
1. Choose an appropriate model to determine if there is family income (i.e., FamilyIncome in the data set) difference among different types of families (i.e., FamilyType in the data set) in the state of New York?
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 create a new column to hold the binary answers.)
Click Here for How to Use the with() Function.
3. Choose an appropriate model, and use FamilyIncome, NumChildren, NumPeople, NumWorkers to predict the probability that a family is living on FoodStamp.
(Note: please ignore the warning message such as glm.fit: fitted probabilities numerically 0 or 1 occurred if you see one)
Please save the screenshots of the data analysis results and your interpretations of the results into a Word document, and name it as “MyAssignment1”. Thank you!