Dear Statalist,
I am trying to merge two graphs (as shown in the attached graph file) into one using the user written coefplot command as follows but it is not working:
reg employed i.agecat i.agecat#i.dis i.married i.redu i.chb5 i.ch514 i.urban i.wave if male==1 margins r.dis, at(agecat=(16(5)61)) post
estimates store Male
reg employed i.agecat i.agecat#i.dis i.married i.redu i.chb5 i.ch514 i.urban i.wave if male==0 margins r.dis, at(agecat=(16(5)56)) post
estimates store Female
coefplot Male Female, at
Can anyone help, many thanks in advance!
Michael
Related Posts with Coefplot merging two graphs into one
regression discontinuity with multiple cutoffs ("rdms" command): matsize too smallHello everyone, I am performing a regression discontinuity with multiple cutoffs. To this end, I fo…
How to compute for inverse Mills ratio from a heteroscedastic probit modelGood day! May I please kindly ask how can I derive the inverse Mills ratio from a heteroscedastic p…
Pooled OLS versus random effects in an extremely unbalanced panelHello. I am currently working with a dataset of 2,949 observations that correspond to individuals su…
Two-way fixed effects and multiple FEs (some questions to clear things up with the models used)Dear Stata Community: I am new to Stata, and have begun gathering information as to how to run fixe…
Retroactively input dataHello Everyone, I'm using the latest updated STATA 16. Data is organised as panel data, with gvkey…
Subscribe to:
Post Comments (Atom)
0 Response to Coefplot merging two graphs into one
Post a Comment