Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Bootstrap


From   "Scott Merryman" <smerryman@kc.rr.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Bootstrap
Date   Thu, 14 Aug 2003 19:44:03 -0500

----- Original Message ----- 
From: "Joao Pedro W. de Azevedo" <jazevedo@provide.com.br>
To: <statalist@hsphsun2.harvard.edu>
Sent: Thursday, August 14, 2003 10:36 AM
Subject: RE: st: Bootstrap


> Many thanks...
> Is there any way that I can see all the available matrixs after the
> bootstrap command? I've tried matrix dir, but nothing come up.
> What about the mean value? Where is it saved?
> Many thanks once again,
> JP
> 
> 
> 

-ereturn list- will display the saved matrices and the mean is saved in e(b).

. qui bootstrap "summarize mpg, detail" r(mean), 

. ereturn list

scalars:
                 e(N) =  74

macros:
               e(cmd) : "bootstrap"
           e(predict) : "bs_p"

matrices:
                 e(b) :  1 x 1
                 e(V) :  1 x 1
              e(bs_b) :  1 x 1
         e(ci_normal) :  2 x 1
     e(ci_percentile) :  2 x 1
             e(ci_bc) :  2 x 1
              e(reps) :  1 x 1
              e(bias) :  1 x 1
                e(se) :  1 x 1
                e(z0) :  1 x 1

. matrix list e(b)

symmetric e(b)[1,1]
        _bs_1
y1  21.297297


Scott


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   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