Hello,
I want to do a logistic regression
, where most of the values are dummies and only two varibales logconsumptionsumtotal05 and pca_indexlivingstandard05 , but also not integer. Since I wanna control for linearity I think I need a linear variabel like age or time to do the margins and marginsplot command. I´ve already read about the clogit command, which should be better for many dummy variables, but I don´t no how to specify my group (which is recommanded in clogit).
I´ve tried the code
But if I use this "natural" identifier HHID (In my Data set), many of my variables are omitted and more dann 3000 of 6000 observations could not be used.
Thanks for your ideas and support
I want to do a logistic regression
Code:
logistic Evermigrated men05 Under30 Over60 i.born_in_capital Under30#i.born_in_capital Over60#i.born_in_capital married05 widowed05 livingwithfather05 livingwithmother05 everbeentoschool05 currentlyinschool05 pca_indexlivingstandard05 savingsaccount05 borrowingability05 Householdmembers05 shock05 logconsumptionsumtotal05 illness05 Ethnic11_Bantu Ethnic11_Niloten Ethnic11_Hamitoniloten Ethnic11_Sudansprachengruppen Ethnic11_Banyakole
I´ve tried the code
Code:
clogit Evermigrated men05 Under30 Over60 i.born_in_capital Under30#i.born_in_capital Over60#i.born_in_capital married05 widowed05 livingwithfather05 livingwithmother05 everbeentoschool05 currentlyinschool05 pca_indexlivingstandard05 savingsaccount05 borrowingability05 Householdmembers05 shock05 logconsumptionsumtotal05 illness05 Ethnic11_Bantu Ethnic11_Niloten Ethnic11_Hamitoniloten Ethnic11_Sudansprachengruppen Ethnic11_Banyakole, group(HHID)
Thanks for your ideas and support
Comment