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

From |
peter harper <peterhharper@yahoo.co.uk> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
RE: st: quartiles |

Date |
Tue, 11 May 2004 22:37:41 +0100 (BST) |

Dear Nick I was merely replying to Clive's suggestion. I have tried various things, I was not getting the same answer another author got. But I and a another statalist user have agreed that I ask the author, as he may have used other figures. Thanks Best Wishes --- Nick Cox <n.j.cox@durham.ac.uk> wrote: > The help for -codebook- explains that > -codebook- makes a guess at what are > (in effect) categorical variables for which > summary statistics are _not_ calculated, as > in your example. You > can force the calculation of quartiles > by using the -tabulate()- option. > > All this, however, is a bit of > a red herring. You want quartiles. > As other people have explained, there > are other ways of getting at them which > are more direct. -codebook- can be > very useful for other reasons, naturally. > > Nick > n.j.cox@durham.ac.uk > > > -----Original Message----- > > From: owner-statalist@hsphsun2.harvard.edu > > [mailto:owner-statalist@hsphsun2.harvard.edu]On > Behalf Of peter harper > > Sent: 11 May 2004 22:20 > > To: statalist@hsphsun2.harvard.edu > > Subject: RE: st: quartiles > > > > > > Clive > > Thanks for your suggestion. When I tried > > codebook pro1 > > It did not give me centiles, as it did for you, > just > > type > > range > > unique value > > tabulation etc. > > Thanks > > > > --- n1700166 <Clive.Nicholas@newcastle.ac.uk> > wrote: > > > 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/ ____________________________________________________________ Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html * * 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/

**References**:**RE: st: quartiles***From:*"Nick Cox" <n.j.cox@durham.ac.uk>

- Prev by Date:
**RE: st: quartiles** - Next by Date:
**RE: st: quartiles** - Previous by thread:
**RE: st: quartiles** - Next by thread:
**RE: st: quartiles** - Index(es):

© Copyright 1996–2014 StataCorp LP | Terms of use | Privacy | Contact us | What's new | Site index |