From: "Abdel Rahmen El Lahga" <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: st: RE: How to Calculate 25th and 75th Percentile in Stata
Date: Tue, 3 Jul 2007 22:40:55 +0200
I agree Nick's reply. Below is one way to calculate p25 and p75
sysuse auto
quietly su price , d
scalar per25=r(p25)
scalar per75=r(p75)
scalar list
HTH
2007/7/3, Nick Cox <[email protected]>:
It doesn't matter how new you are to Stata, or
even the world.
You should (please) learn
(1) to use Stata's own on-line facilities
(2) to ask more specific questions.
. search percentile
gives lots of ways of doing it. -summarize- is one.
Nick
[email protected]
AttaUllah Shah
> Please help me in calculating the 25th and 75th percentiles
> in 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/
--
AbdelRahmen El Lahga
*
* 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/