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
Estout - Showing Two Coefficients in PercentageHi Everyone, I am running following code: xtset id month eststo:xtreg rateofreturn_excess mkt_rf …
Effect size logit regression with sqaure terms and interactionsDear STATA users, I am running a model with a logit regression (binary DV), in which I include my I…
numbered listIs there a command to create a numbered list, e.g., from 1804 to 2018. …
creating a variable from frequencies and percent from tab commandDear statalist Members, other than using contract, is there a way i can create a variable from the …
Propensity matchingHello, I am new to stata and getting this error while running propensity matching. . quietly dr DI…
Subscribe to:
Post Comments (Atom)
0 Response to Getting results for a categorical variable with eststo and mi data
Post a Comment