Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Quantile regression with sample selection


From   Gustavo Palmeira <[email protected]>
To   [email protected]
Subject   Re: st: Quantile regression with sample selection
Date   Thu, 29 Mar 2012 14:54:19 -0300

2012/3/29, Gustavo Palmeira <[email protected]>:
> Is the command -sml- still implemented on version 10 or changed the name?



>
>> Hy Gustavo,
>>
>> There´s no module in Stata as far as I know to do that
>> ,
>> what I am doing to replicate Buchinsky´s method was  first estimate a
>> single index ( semiparametric maximum likelihood estimator of Klein
>> and Spady (1993)) using sml command in stata,
>>
>> then you have to calculate Mill´s ratio, and then incorporate this
>> ratio on your quantile regression,
>>
>> **Mills ratio
>>
>> generate mills = normalden(index)/normal(index) if female
>>
>> replace  mills = -normalden(index)/1-normal(index) if male
>>
>> gen mills2=mills^2
>>
>> ***include the power series into the QR**
>>
>> qreg depvar indepvar  mills mills2 if female, q(0.1)
>>
>>
>>
>> Buchinksy suggest including power series of order two, but you can try
>> with power series of order 3 and see whether the correction terms are
>> significant.
>> I hope this could help you,
>>
>> Luciana

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index