In: Statistics and Probability
Fitting Logistic Reegression (depedent varaible(Employed), Independent variables (Age, Race.Ethnicities, Education.Attainment, gender)
dataset
Age | Earnings Past 12 Months | Usual Weekly Hours | Female | Married | No High School Degree | High School Degree or GED | Some College | Associates Degree | Bachelors Degree | Masters Degree | Professional Degree | Doctorate | Educational Attainment | Employed | White | Black | American Indian or Native American | Asian | Hawaiian or Pacific Islander | Other Race | Biracial | Hispanic | Race/Ethnicity | Worked 40+ Weeks During Past 12 Months | Worked 35+ Hours in a Typical Week | |||
18 | 1200 | 16 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | No High School Degree | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | White | 0 | 0 | |||
53 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | High School Degree | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | Hispanic | 0 | 0 | ||||
61 | 0 | 70 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | Some College | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | White | 1 | 1 | |||
32 | 350 | 24 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | Some College | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | White | 0 | 0 | |||
49 | 0 | 30 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | Masters Degree | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | White | 1 | 0 |
Hope the above answer has helped you in understanding the problem. Please upvote the ans if it has really helped you. Good Luck!!