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: bootstrap saving option


From   Steven Samuels <[email protected]>
To   [email protected]
Subject   Re: st: bootstrap saving option
Date   Mon, 7 Feb 2011 11:21:54 -0500


Liwu-

Just to note: your original request was to save the bootstrap replicates; -statsby- does not do this.

Steve
[email protected]

On Feb 7, 2011, at 10:39 AM, Liwu wrote:

Thanks again, Steve.

Here is another code I would like to share in case someone might face
the same issue in the future.
statsby _b _se, by(headroom) saving(test): bootstrap _b[foreign]
_b[weight] rmse=e(rmse), rep(10): reg mpg weight turn foreign

After running this, the coefficient and standard error would be saved
in test.ado file.
And the results are not overlapped among various regression models.

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

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