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

Re: st: summary statistics


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: summary statistics
Date   Tue, 21 Dec 2004 09:45:40 -0500

At 09:26 AM 12/21/2004 +0000, you wrote:

Dear Stata users,

i want to report summary statistics only on the observations used in the regressions. For example, if there are 543 observation units collected, regressions take only 204 of them for regressions. How can I report summary statistics for these 204 observations? Thank you!
Another option -- if the cases are being dropped because of listwise deletion of the missing data, then you can do something like

corr y x1 x2 x3, means

using the same variable list on the -corr- command as you do on the -regress- command. Both -corr- and -regress- do listwise deletion of missing data. The above will give you the means, correlations and standard deviations (also the min and max of each variable) which are the most commonly sought descriptive statistics.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
FAX: (574)288-4373
HOME: (574)289-5227
EMAIL: [email protected]
WWW (personal): http://www.nd.edu/~rwilliam
WWW (department): http://www.nd.edu/~soc

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