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
stcompetDear Stata Forum, My research question: Among people who have had a kidney transplant, what are sur…
Missing handling for pooled cross-sectional data (?)Hi all, I am using pooled cross-sectional data for a period of 14 years (it is not a panel!). I wil…
How to select a subset of data from a full databaseDear all, If I have a database on STATA with multiple rows for each patient (due to multiple outpat…
Assert – why is false returned for values that appear equal after matrix conversion? Code: version 15 set obs 3 local a = 3.1415927 matrix A = (1\2\3.1415927) matrix B = A[3,1] sv…
How to Fit Non-Linear Regressions with Scatter PlotDear Statalists, I really need help now. Thanks in advance. In the below code chunk, I would like …
Subscribe to:
Post Comments (Atom)
0 Response to Coefplot merging two graphs into one
Post a Comment