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
weighting dataI have an unbalanced panel data, and I'm trying to weight my sample to look like the population. sup…
create new variable with multiple conditionsHello expert stata I'm new to stata. I had an exercise from the class for analysing the data. the fi…
How do i transform categorical variables to continuous scores?Hello Statlist, I am working on the Health Information National Trends Survey (HINTS) which has 7 v…
Standardising variables across waves in panel data analysis - how?Good morning all from a very gloomy Ireland where we have just reported our highest daily number of …
Urgent: How to change the relationship according to HH serial numberDear All, How can I select and create a new data set with all household heads and those household w…
Subscribe to:
Post Comments (Atom)
0 Response to How I can add 95% CI error bar to my multiple line graph
Post a Comment