I want to plot confidence intervals with different colors of my preference. I am using the following code:
reg exc_bre06 i.month12
margins month12, saving(unadjusted, replace)
reg exc_bre06 i.month12 i.weight agemos i.state i.education_years i.mother_stunted i.mother_working hindu i.caste rural hhmem i.wealth
margins month12, saving(adjusted, replace)
combomarginsplot unadjusted adjusted, labels("Unadjusted " "Adjusted ") recastci(rarea) ytitle(Mean Predicted Values) title(Exlusively Breastfed)
margins month12, saving(unadjusted, replace)
reg exc_bre06 i.month12 i.weight agemos i.state i.education_years i.mother_stunted i.mother_working hindu i.caste rural hhmem i.wealth
margins month12, saving(adjusted, replace)
combomarginsplot unadjusted adjusted, labels("Unadjusted " "Adjusted ") recastci(rarea) ytitle(Mean Predicted Values) title(Exlusively Breastfed)
combomarginsplot unadjusted adjusted, labels("Unadjusted " "Adjusted ") recastci(rarea) ytitle(Mean Predicted Values) title(Exlusively Breastfed) ciopts(fcolor(lt blue))
But it is changing the color of both the confidence intervals to Light Blue.
Please let me know if you have any questions.
Thank you.
0 Response to Different colors for the confidence intervals plot
Post a Comment