Hi,
First, I have used the collapse command to make the mean and standard deviation by age and SES for smoking.
Second, I have made the upper and lower values of the confidence interval for smoking.
Third, I have used the command:
xtset SES age
Fourth, I have used the command:
xtline smoking, overlay
Now, I have the figure I am looking for without error bars.
How I can add 95% error bars to each age group across all SES?
I really appreciate your help.
Related Posts with How I can add 95% CI error bar to my multiple line graph
Fuzzy matching alphanumeric nameHi, I am trying fuzzy string matching from two files using 'dtalink' package. In both files I have a…
Determining direction of causality from FE/FDHi everyone, I am trying to identify the causal effect that X has on y. I am running a pooled OLS f…
Data spanning across different time period - how to convert it into common variables?Hi, I asked this question in an earlier thread but I guess the data was too confusing, so simplifyin…
How to calculate odds ratio for C.DVHi everyone, How to calculate odds ratio from continuous DV (0 - 100) then transformation log …
Odds ratios with cmmprobit ?Dear all, I am wondering if there is a way to get odds ratios or risk ratios with cmmprobit in Stata…
Subscribe to:
Post Comments (Atom)
0 Response to How I can add 95% CI error bar to my multiple line graph
Post a Comment