I would like to use marginsplot to show many regressions on the same graph. My dependent variable is a scale (0, .5,1, 1.5, 2, 2.5, 3). I would like to graph separate race/sex pairs. I can show the probability of being at each point in the scale by using if statements.
Code:
ologit chinese_scale age educ ib2.pid if black==1 & woman ==1 margins marginsplot, noci
However, when I try to use the following code, I can no longer see the scale on the x-axis
Code:
ologit chinese_scale age educ ib2.pid i.birace i.woman margins woman#birace marginsplot, noci
Array
I would greatly appreciate and help or thoughts you can provide.
0 Response to How to add multiple regression lines to a marginsplot graph?
Post a Comment