Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: bootstraping with qreg bsqreg and sqreg


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: bootstraping with qreg bsqreg and sqreg
Date   Fri, 25 Jun 2004 14:08:20 -0500

One small point, in your regression:
- bs "qreg y x1 x2 x3....x22" "_b[x1] _b[x2]...._b[x22] _[_const]"

the constant term needs to be specified as _b[_cons]; _[_cons] will be equal
to 1 not the value of the constant.

On the issue of setting the number of replications, you might find the FAQ "
Guidelines for bootstrap samples" at
(http://www.stata.com/support/faqs/stat/reps.html) useful.

Scott


-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Rijo John
Sent: Thursday, June 24, 2004 12:19 PM
To: Statalist
Subject: st: bootstraping with qreg bsqreg and sqreg

Dear Stata users,

 I was doing a bootstrapping exercise for the same quantile regression in
three ways.
1)	bs "qreg y x1 x2 x3....x22" "_b[x1] _b[x2]...._b[x22] _[_const],
	reps(20)
2)	sqreg y x1 x2 ...... x22
3)	bsqreg y x1 x2 ......x22

Why am I getting different bootstrap standard errors in each one of this
method? The stata help says these methods are same. The coefficients I am
getting are same though. Can anyone tell me which one of this is to be
accepted or most widely used?

Thanks,
Rijo John.
***************************************************
Rijo.M.John,Research Scholar
Indira Gandhi Institute of Developement Research,
Film City Road, Goregaon East,
Mumbai, India-400065.
contact: (+91)9892412476




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

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