Dear all,
I am working with mi data and plan to use "coefplot". Therefor I want to save results in models using "eststo".
I have the following syntax which ist working fine with metric and dummy variables:
est store m1a
eststo: mi est, post vceok esampvaryok noupdate: svy: reg netwealth_ihs selfemp transfer hh_size_emp children17 if country==04
The problem now is, that "selfemp" describes a categorical var and I would like to get the coefficients for each category of selfemp displayed separately in the output. I tried "i.selfempref" and "c.selfempref" but it does not work with eststo:
est store m1a
eststo: mi est, post vceok esampvaryok noupdate: svy: reg netwealth_ihs i.selfemp transfer hh_size_emp children17 if country==04
Does anyone have a solution for this or knows a different way to save mi data regression models with categorical variables?
Thanking you for any help or suggestions
Sophie
Related Posts with Getting results for a categorical variable with eststo and mi data
De-trending Panel DataHi everyone, I need help with detrending panel data. I have a panel of firm observations across year…
Spilt variable and fill in numeric terms in the stringDear Statalist, I have a variable called Name which looks like below. I would like to spilt Name in…
How can I get gr_edit to refer to specific graphs when multiple graphs are open in the graph window?I'm using a user-created command (-synth2-) that generates multiple graphs as outputs. I want to be …
Eliminating leading blanks from a stringHi all, It seems there are leading blanks for a string variable state in 2 out of 5 rounds of data …
What components should I pay attention to when buying a new laptop for Stata?Hello Statalisters, I don't know if I'm allowed to post this thread as it is not related to Stata p…
Subscribe to:
Post Comments (Atom)
0 Response to Getting results for a categorical variable with eststo and mi data
Post a Comment