Hi There,
If I'm using serrbar (inputting a mean, a standard error of mean, and a scale of 1.96) is it possible for me to label each of the confidence interval plots with N's somehow?
I've created a variable for the Ns by group (a variable called source). In the serrbar step, I'm also creating the confidence interval plots using the same source variable. Can I label each plot with the appropriate N using mlabel or something else?
Thank you so much for your time and input.
If I'm using serrbar (inputting a mean, a standard error of mean, and a scale of 1.96) is it possible for me to label each of the confidence interval plots with N's somehow?
I've created a variable for the Ns by group (a variable called source). In the serrbar step, I'm also creating the confidence interval plots using the same source variable. Can I label each plot with the appropriate N using mlabel or something else?
Thank you so much for your time and input.
Code:
egen n_ind = count(FQmetainstanceID), by (source) .... serrbar married_mean married_SE source, scale (1.96) title("% Currently In Union with 95% CI (15-49 W, ET)") sub("By Data Source (1-5=PMA, 6=DHS)") /// b2(Median Interview Date) /*ylab(0(5)35) */ xlab(1(1)6) mlabel (n_ind) /*where do i put individual n's?*/ graph save Graph "/Users/maishahuq/Desktop/EA Refresh Analysis/ET_Married_082018.gph", replace