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/