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   Sat, 5 Feb 2011 13:50:41 -0500

-

I should have added: you can get a list of bootstrappable parameters (besides coefficients) by running a (non-bootstrapped) command, then typing "ereturn list" (regression-type commands), "return list", or both.

bootstrap rmse=e(rmse) _b[_cons] _b[weight] _b[turn], rep(10): reg mpg weight turn

Steve
[email protected]


On Feb 4, 2011, at 10:42 PM, Liwu wrote:

Hello All,

Let me use the example in bootstrap help to describe my question.
. sysuse auto
. bootstrap, saving(bsauto): regress mpg weight gear foreign

When I open the saved file "bsauto," I can see the estimated coefficient and
constant term of each replication.
My question is how to add RMSE in the file.
That is, besides, these estimated coefficient (e.g., _b_weight), I also want
to save RMSE from each replication in the file.
I stuck for days and still can't figure it out. Appreciate your help.

Thanks,
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