Statalist


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

Re: st: issue with bootstrap


From   jpitblado@stata.com (Jeff Pitblado, StataCorp LP)
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: issue with bootstrap
Date   Tue, 25 Nov 2008 12:49:02 -0600

Tony <Peter.Lachenbruch@oregonstate.edu> tried to use -estat bootstrap-
directly after using the -bootstrap- command, but received the error "last
estimates not found":

> I was doing a bootstrap and wanted to get estat estimates and got "last
> estimates not found"  Here are the commands and output
> 
> . bootstrap _b e(r2) e(rmse),bca reps(500) :reg tvas age anyapheresis
> anyaza anyca anycyclosp anyhcq anyiv_cytoxan  anyivig anymtx
> anypo_cytoxan anypred anyulc calcinosis ck252 cmasxt2 contracture
> duractdz dysphagia dysphonia dzactvas extramuscleact finchaq funcclass
> gender onsetseverity
> (running regress on estimation sample)
> 
> <output omitted>
> 
> . estat boot , bca percentile
> last estimates not found
> 
> This seems to follow the help file, but I'm mystified.  

The problem here is that -bootstrap- incorrecty kept the value of
-e(estat_cmd)- from -regress-'s results.  This caused -estat- to report the
error because it did not recognize the results in -e()-, expecting them to be
from -regress-.

We hope to have -bootstrap- fixed in time for the next ado-file update.

--Jeff
jpitblado@stata.com
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index