Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Standard deviation error bars


From   "Ward Hagar" <WHagar@mail.cho.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: RE: Standard deviation error bars
Date   Tue, 23 Mar 2004 13:12:20 -0800

Many thanks!

>>> roger.newson@kcl.ac.uk 03/23/04 12:14PM >>>
At 19:19 23/03/04 +0000, Nick Cox wrote (in reply to Ward Hagar:

>Roger Newson has his own way of doing it on -eclplot-.

This should be something like

eclplot estimate estmsd estpsd x, plot(bar estimate x)

where -estimate- is the estimate, -estmsd- and -estpsd- are estimates plus 
and minus the SD (respectively), and -x- is the variable against which the 
estimates should be plotted. This is done in a data set with 1 observation 
per group and data on estimates and SDs. Such a data set might be created 
by the official Stata -collapse- command, or by the -xcollapse- package, 
downloadable from SSC.

I hope this helps.

Roger


--
Roger Newson
Lecturer in Medical Statistics
Department of Public Health Sciences
King's College London
5th Floor, Capital House
42 Weston Street
London SE1 3QD
United Kingdom

Tel: 020 7848 6648 International +44 20 7848 6648
Fax: 020 7848 6620 International +44 20 7848 6620
   or 020 7848 6605 International +44 20 7848 6605
Email: roger.newson@kcl.ac.uk 
Website: http://www.kcl-phs.org.uk/rogernewson 

Opinions expressed are those of the author, not the institution.

*
*   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/


*
*   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/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index