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

st: graph mean and sd over/by category


From   "george hoffman" <ghoffman@mcw.edu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: graph mean and sd over/by category
Date   Mon, 10 Feb 2003 08:30:47 -0600

two questions for stata8-

1. is there a command to graph mean (as dot or bar) and +/- error bars (sd,
se, ci, whatever) of a variable over/by categorical variable? in stata5-6, i
used joanne garrett's predxcat with my own modifications. i've spent hours
with the manuals, online help, menus, decomposing ado files, but can't find
a straightforward way to do it. an ado-approach would be to 'oneway y x',
capture the coeffecients and sd's, and graph them somehow - but should i
have to program to get mean+/-sd graphically?  I would think this would
still be a highly desired common graphics option. what am i missing?

2. fitted curves under scatter plots look beautiful - can the regression
coefficients from fplotci or qplotci be captured somehow, as poor-man's
curve fit?

thanks in advance.
-----------------------------------------------------------------
George M Hoffman MD
Associate Professor,  Anesthesiology&Pediatrics,
Medical College of Wisconsin
414-266-3560
<ghoffman@mcw.edu>
-----------------------------------------------------------------


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