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

RE: st: quartiles


From   n1700166 <[email protected]>
To   [email protected]
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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index