Hi Statalist,
I have 3 models (Model A, B, and C) which sequentially adjust for different variables. I have run these models with 6 different independent variables. I have been trying to plot these using coefplot. What i'm aiming for is 6 plots for each different independent variable with models A, B, and C plotted on each. I have using the following code:
which produces

Is there a way to remove the empty plots of the other exposures from each graph? E.g., socsupport would only contain the three coefficients and CIs plotted?
Thanks for your help,
Robyn
I have 3 models (Model A, B, and C) which sequentially adjust for different variables. I have run these models with 6 different independent variables. I have been trying to plot these using coefplot. What i'm aiming for is 6 plots for each different independent variable with models A, B, and C plotted on each. I have using the following code:
Code:
coefplot socA socB socC || conA conB conC || partA partB partC || lonA lonB lonC || closA closB closC || hhA hhB hhC , drop(*.sex dhager *.ethnicity *.education *.wealth _cons) xline(0) xlabel(-0.65(0.10)0.1) plotregion(fcolor(white)) graphregion(fcolor(white))
Is there a way to remove the empty plots of the other exposures from each graph? E.g., socsupport would only contain the three coefficients and CIs plotted?
Thanks for your help,
Robyn
Comment