Statalist


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

Re: st: Decile regression using sqreg


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Decile regression using sqreg
Date   Thu, 24 Apr 2008 11:53:14 +0100 (BST)

> --- Leonor Saravia <[email protected]> wrote:
> > I need to estimate a regression for each decil of income for a
> > country, so, if I�m understanding well, using "sqreg" it�s not the
> > way to do it, isn�t it? Because I�m obteining 9 regression instead
> > of 10, being 10 what I was expecting.

--- Maarten buis <[email protected]> wrote: 
> You should expect 9 regressions: you are modeling the first to the
> ninth decile and never the zeroth or the tenth decile (being the
> minimum and the maximum). This is implicit in the description of the
> description of the -quantile()- option in the helpfile of -sqreg-: 
> "quantile(#) specifies the quantile to be estimated and should be a
> number between 0 and 1, exclusive."

Let me expand a bit on that: The key in this quote is the word
"exclusive": the quantiles 0 and 1 are not allowed. This makes sense.
Consider your case, where you want deciles: This means you want to cut
you dependent variable into ten pieces, and the deciles are the points
where you make the cuts. If you want to cut something in ten pieces you
only need nine cuts; you don't need to cut at the bottom (zeroth
decile) or the top (tenth decile).

Hope this helps,
Maarten

-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


      ___________________________________________________________ 
Yahoo! For Good. Give and get cool things for free, reduce waste and help our planet. Plus find hidden Yahoo! treasure 

http://green.yahoo.com/uk/earth-day/
*
*   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