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

RE: st: quartiles


From   n1700166 <Clive.Nicholas@newcastle.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: quartiles
Date   Tue, 11 May 2004 07:16:42 +0100

Peter Harper wrote:

> Can tell me the commands to obtain a bottom and top
> quartile. Thanks in advance

You could also use -codebook- towards the same end:


. sysuse auto, clear
(1978 Automobile Data)

. codebook mpg

------------------------------------------------------------------------------
--
mpg                                                                Mileage 
(mpg)
------------------------------------------------------------------------------
--

                  type:  numeric (int)

                 range:  [12,41]                      units:  1
         unique values:  21                       missing .:  0/74

                  mean:   21.2973
              std. dev:    5.7855

           percentiles:        10%       25%       50%       75%       90%
                                14        18        20        25        29

C.

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