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]
Re: st: twoway line graph with two groups and confidence intervals
From
Nick Cox <[email protected]>
To
[email protected]
Subject
Re: st: twoway line graph with two groups and confidence intervals
Date
Tue, 16 Aug 2011 01:30:59 +0100
See -statsby- and literature on it.
Nick
On Tue, Aug 16, 2011 at 1:25 AM, ClaudiaP <[email protected]> wrote:
> I have 9 waves (2001-2009) of unbalanced longitudinal data (n=~1500), with
> variables empstatus (employment status, casual=1 or permanent=2) and mh
> (mental health; among other variables).
>
> I would like to produce a line graph showing mean mh scores for each year
> 2001-2009 for casual and permanent workers, with 95% confidence interval for
> each group. That is, year on the x-axis, mh on the y-axis, and two separate
> lines (with legend) for the groups contained in empstatus (casual and
> permanent), with confidence intervals for both groups.
*
* 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/