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

st: RE: ci, return lists, and statsby commands


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: ci, return lists, and statsby commands
Date   Mon, 29 Sep 2003 19:23:34 +0100

Not clear what the problem is here. 

This worked for me: 

. sysuse auto 
. statsby "ci mpg" N=r(N) mean=r(mean) ub=r(ub) lb=r(lb) , by(rep78)

Nick 
[email protected] 

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of 
> Wallace, John
> Sent: 29 September 2003 18:58
> To: '[email protected]'
> Subject: st: ci, return lists, and statsby commands
> 
> 
> Dear Statalisters
> 
> I'm trying to summarize a dataset using the statsby command 
> (with a saving
> option to make a collapsed dataset).  Two of the measures 
> I'd like to make
> are upper and lower limits for the mean using 95% 
> confidence intervals.  I
> thought I'd be able to do this by peeking at the 
> appropriate values using
> the -return list- command.  When I do so, I get nothing, no 
> errors, no list.
> Can anyone provide any guidance on this?  -Collapse- 
> doesn't appear to have
> confidence intervals implemented either.
> 
> John Wallace
> Research Associate
> Affymetrix, Inc
> *
> *   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index