Bookmark and Share

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


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

st: graphic observed means and confidence intervals over time


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

Hello,
Statalist.
I
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.
 
A
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.
If
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?
 
Thank
you for your help!  Lloyd Dumont

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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