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
Refering to factor variables post estimationDear All, I want to use lincom to estimate total effect after running a regression of the form: C…
Statistical powerI want to run a linear regression I have a 94 observations with 11 independent variables. I have the…
Power calculation for time to event studyHi, I am powering an RCT where the primary endpoint is time-to-response from initiation of treatmen…
Generating ID variables in one data set based on some observations in another data setHI all, Please consider the following data set: data set_1 clear . input str8 respid byte str…
Find out what variables in .dta file are used in .do fileI am reviewing an old project by someone who is no longer reachable. I have her .dta file with inpu…
Subscribe to:
Post Comments (Atom)
0 Response to Getting results for a categorical variable with eststo and mi data
Post a Comment