I am currently working Logistic regression where the variable whether_worked (binary variable of 1/0) is explained by the categorical variable experience during the study period.
The explanatory variable is the categorical variable(work_experience) taking values:
- mandatory internship
- optional internship
-work in accordance with the field of study
- work incompatible with the field of study
- lack of experience
The question was in multiple choice form and written in 3 columns q5_1 q5_2 q5_3 so you could write out up to 3 options. How should I include this in the regression? When the dependent variable is explained by gender or education you can't be female and male at the same time you can't have college and high school education at the same time. In contrast, here someone has both mandatory internship and volounteering .
Currently it looks like this
glm(does_work~ work_experience, family ='binomial)
Unfortunately yes I do not include the answers from q5_2 and q5_3 . I'll add that q5_2 and q5_3 have 70% empty columns rather each gave one main, but still have additionally interesting information