Dear all,
I am running a linear probability model with fixed effect using a panel data set. My dependent variable is the mother's labor outcome (dummy: work is coded as 1, otherwise 0), and key independent variable is the child's education stage (categorial: no children-reference group, baby, pre-school, primary school, and secondary school). Moreover, I add the time fixed effect (waven means survey wave).
My code is as follows:
However, Stata always says that "note: 4.c_stage omitted because of collinearity", even I removed variable "waven". But when I switched to random effect model, 4.c_stage would not be omitted. I have searched on the forum, but it seems that my case is unique since only one category was omitted. I am wondering why.
Your answers and suggestions would be greatly appreciated. Thank you very much!
I am running a linear probability model with fixed effect using a panel data set. My dependent variable is the mother's labor outcome (dummy: work is coded as 1, otherwise 0), and key independent variable is the child's education stage (categorial: no children-reference group, baby, pre-school, primary school, and secondary school). Moreover, I add the time fixed effect (waven means survey wave).
My code is as follows:
Code:
xtset desampleid waven xtreg work i.c_stage i.waven, fe
Your answers and suggestions would be greatly appreciated. Thank you very much!
Comment