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
Merging two data sets: weighting help?Hi All, I am working to merge two separate data sets, each with their own sampling method and weight…
Interpretation of grand mean centered versus original form level-2 variables in multilevel logistic regressionHello, I have a random intercept multilevel logistic regression model with cross-level interactions…
How to calculate Jaccard SimilarityDear Statlisters, I am trying to calculate a pairwise Jaccard similarity measure and have trouble f…
Is there an arbitrary scaling factor in logistic regression in Stata?Hi, Norton et al state in a recent JAMA guide that the magnitude of the odds ratio from a logistic …
combine four categorical variables altogether and generate new variableDear Stata forum, I would like to calculate a median and I know that Stata provides the code for MAD…
Subscribe to:
Post Comments (Atom)
0 Response to How I can add 95% CI error bar to my multiple line graph
Post a Comment