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

st: RE: Descriptive statistics


From   "McCrary, Joseph" <[email protected]>
To   <[email protected]>
Subject   st: RE: Descriptive statistics
Date   Thu, 4 Nov 2004 08:21:55 -0500

-tabstat- should get you all that you need. 

-----Original Message-----
From: [email protected]
[mailto:[email protected]]On Behalf Of Chen Chwen
Chwen
Sent: Thursday, November 04, 2004 6:55 AM
To: [email protected]
Subject: st: Descriptive statistics


Hello,

I want to create a table containing descriptive statistics of two
variables, var1 and var2, distinguishing by tit and I. These descriptive
statistics are the number of observations, the minimum, the mean, the
median, the first and the third quartile, the maximum and the standard
deviation. I use the command summarize:

by tit: summarize var1 var2 if I==-1
by tit: summarize var1 var2 if I==1

However with this command I can't have all the statistics I need. What
command can I use to also take into account the two criteria?

Thank you for your help.

Kind regards,

Chwen Chwen Chen

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