Statalist


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

st: RE: Mean with varlist


From   "Carter Rees" <[email protected]>
To   <[email protected]>
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: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Wednesday, December 19, 2007 3:32 PM
To: [email protected]
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
[email protected] 
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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index