Statalist


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

Re: st: Decile regression using sqreg


From   Ronan Conroy <rconroy@rcsi.ie>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Decile regression using sqreg
Date   Wed, 23 Apr 2008 20:55:12 +0100

On 23 Apr 2008, at 20:36, Leonor Saravia wrote:

I'm having a problem using the "sreg" command in Stata. I'd like to
run a regression foreach DECIL of the income distribution of a
country, so I've told Stata to do this:

sqreg income expenditure, quantiles(.1 .2 .3 .4 .5 .6 .7 .8 .9 1)
You only need nine cutpoints to create ten deciles. The 1 at the end is unnecessary.


But Stata is performing the regression for the nine first decils and
for the quantile 1 (I think, because in the output I have the
estimation results for the: q10 q20 ....q90 q1).
The words we use are confusing; 'decile' is used for both the interval containing 10% of the data and for the upper cutpoint for this interval.

P Before printing, think about the environment
=================================
Ronan Conroy
rconroy@rcsi.ie
Royal College of Surgeons in Ireland
Epidemiology Department,
120 St Stephen's Green, Dublin 2, Ireland
+353 (0)1 402 2431
+353 (0)87 799 97 95
http://www.flickr.com/photos/ronanconroy/sets/72157601895416740/

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