Note that -xtgraph- is a user-written program on SSC.
It does not support Stata 8 or Stata 9 graphics.
In addition, doing it yourself is an option. For
example, something like
egen meanvar = mean(var), by(year)
line meanvar year
gives you means against a time variable (in this
case -year-). Given upper and lower limits,
twoway line meanvar year || rcap upper lower year
gives you the intervals as well. And so forth.
Nick
[email protected]
Roger Newson
> This can be done using the -eclplot- package (to plot the confidence
> intervals), possibly together with -parmest- (to create a
> dataset with one
> observation per confidence interval for input to -eclplot-).
> Both packages
> can be downloaded from SSC using the -ssc- command.
George M Hoffman MD
> xtgraph
Maria Rosaria Agostino
> does anyone of you know how to get a line graph for the mean
> of a variable
> against the time, along with a two standard deviation
> confidence interval,
> and the possibility to insert vertical and horizontal lines?
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/