Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: graphic observed means and confidence intervals over time

From   Lloyd Dumont <>
To   "" <>
Subject   st: graphic observed means and confidence intervals over time
Date   Fri, 18 Nov 2011 08:50:32 -0800 (PST)

have a large dataset of survey responses from individuals over time.  Each observation comes from one of 5 years,
though the individual respondents cannot be linked between rounds, so this is
not panel data.
reviewer has suggested that I plot the means of a few variables over time.  That is easy.  But, he has said he would like to see the standard errors on this graph
as well.  If I am correctly understanding
him, he wants to see a simple line plot with a solid line representing the
mean, and then dotted lines representing a confidence interval around that
mean, over time.
I were just plotting the mean, I would use -collapse-, create means by year,
and call it a day.  But, if I want
confidence intervals around these means, what is the best way to do that?  Should I still do it using -collapse-, or is
there a shortcut for plotting observed (as opposed to predicted or fitted)
means and their confidence intervals?
you for your help!  Lloyd Dumont

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index