Hi. I always thanks to statalist.
I have six years of cross sectional data for SBP and BMI.
There are three variables, SBP, BMI and Year.
I would like to draw the SBP's average trend graph over the years before and after the adjustment to BMI.
How can I overlay the two graphs below?
reg sbp bmi i.year
margins year
marginsplot
reg sbp i.year
margins year
marginsplot
like this graph
Array
0 Response to How can I overlap two marginsplot graph???
Post a Comment