Statalist


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

Re: st: bootstrap within the command


From   Le Wang <[email protected]>
To   [email protected]
Subject   Re: st: bootstrap within the command
Date   Sun, 6 Sep 2009 21:43:58 -0400

Thanks, Scott.

I did try set seed before calling -cqreg2-, but it didn't work, either.

Le

On Sun, Sep 6, 2009 at 9:31 PM, Scott Merryman<[email protected]> wrote:
> Set -set seed ###- before calling -cqreg2-
>
> Scott
>
>
> On Sun, Sep 6, 2009 at 7:06 PM, Le Wang <[email protected]> wrote:
>>
>> Hi there,
>>
>> Thanks in advance for your time.
>>
>> I have a question regarding the reproducibility of the results for the
>> programs with a bootstrap command inside.
>>
>> To be concrete, I was using Scott Merryman's cqreg2 (below are the
>> codes copied from
>> http://www.stata.com/statalist/archive/2006-06/msg00045.html)
>>
>> The program calls -bsqreg- to obtain s.e.. However, every time running
>> the program gives (slightly) different results. Adding "set seed ####"
>> into the program itself doesn't seem to help. I was wondering what
>> could we do in this situation. I'd appreciate your help.
>>
>> Le
>>
> *
> *   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/
>



-- 

~~~~~~~~~~~~~~~~~~~~~~~~
Le Wang, Ph.D
Assistant Professor
Department of Economics
University of New Hampshire

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index