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

st: bs problems


From   "Jun Xu" <[email protected]>
To   [email protected]
Subject   st: bs problems
Date   Tue, 22 Jul 2003 15:15:03 -0500

Thanks for Stata Corp people (Jeff) responding to my problem. I would be interested in knowing when the update will be realized. One more problem, why the reps(30) I specified is not consistent with the number under the Reps column (22) (as well as the matrix e(reps)? Also, though the ereturn can be modified to have the e(size) something like that, is that possible you could add the size return matrix too for next update? Really appreciate.

Jun Xu
Department of Sociology
Indiana University at Bloomington

****************************************************************************
. bs "logit lfp k5 age" "(1/(1+exp(-_b[age]+3*_b[k5])))", reps(30) size(20)

command: logit lfp k5 age
statistic: _bs_1 = 1/(1+exp(-_b[age]+3*_b[k5]))

Bootstrap statistics Number of obs = 753
Replications = 30

------------------------------------------------------------------------------
Variable | Reps Observed Bias Std. Err. [95% Conf. Interval]
-------------+----------------------------------------------------------------
_bs_1 | 22 .9802139 -.1673261 .2819232 .3939226 1.566505 (N)
| .0139482 .9999998 (P)
| .1713747 .9999998 (BC)
------------------------------------------------------------------------------
Note: N = normal
P = percentile
BC = bias-corrected

. ereturn list

scalars:
e(N) = 753

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

. mat list e(reps)

symmetric e(reps)[1,1]
_bs_1
reps 22
***********************************************************

_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail

*
* 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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index