Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Mean with varlist


From   "Carter Rees" <carterrees@gmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Mean with varlist
Date   Wed, 19 Dec 2007 19:58:20 -0500

Arnold,

-fsum- by Fred Wolfe would be a good option.

Carter 

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of
Arnold.Levinson@UCHSC.edu
Sent: Wednesday, December 19, 2007 3:32 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: Mean with varlist

Friends,

When the - mean - command is followed by a varlist, it constrains the sample
to observations that are complete (nonmissing) across the varlist. Other
than writing multiple lines or a - foreach - program, is there an option to
have it estimate each mean based on the respective variable's nonmissing
values?

thx...arnold

Arnold H. Levinson, Ph.D.
Director, Tobacco Program Evaluation Group
Assistant Professor of Preventive Medicine
University of Colorado Denver Cancer Center
13001 E. 17th Place/MS F542
P.O. Box 6508, Aurora,  CO  80045
Arnold.Levinson@uchsc.edu 
303-724-3541


*
*   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–2021 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index