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
logistic regression.Hae guys have been trying to figure out the command for testing linearity assumption for log odds vs…
Replacing a data variable if data falls within a date rangeI have some data that was misclassified for a certain date range and would like to change using Stat…
Delete-one-node jackknife variance estimatorDear colleagues, using a dataset on bilateral trade (i.e. country g exports to h leading to the nod…
Mata run-time error r(3001)Hello, I use Stata/IC 15.1. I can run regressions with it but when I try to get summary statistics …
ivreg2h: generated instrumentsDear All, I am using the ivreg2h user-written routine, which implements the procedure in Lewbel (20…
Subscribe to:
Post Comments (Atom)
0 Response to Coefplot merging two graphs into one
Post a Comment