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

st: bootstrap statistic


From   "Jun Xu" <[email protected]>
To   [email protected]
Subject   st: bootstrap statistic
Date   Thu, 12 Sep 2002 09:14:57 -0500

In bs command, Stata puts a formula in the second set of quotation marks to denote a statistic to bootstrap like

logit y x1 x2
bs "logit y x1 x2" "whatever statistic formula", rep(#)

However, it's kind of strange to me that I cannot wrap up lines use /* */ and it seems that I cannot put space between numeric signs like "_b[_cons] + mean2*_b[x1] + mean3*_b[_x2]" won't work, and I have to get rid of any space like "_b[_cons]+mean2*_b[x1]+mean3*_b[_x2]". Here mean2 and mean3 are defined as scalars. Any input on this? Is that because I use scalar in the quotation mark, or it has to be the case that no wrap-up of the stuff within the second set of quotation marks or the space thing. If so, might be kind of inconvient if I have a long formula for a statistic to bootstrap.

Jun Xu
Dept. of Sociology
Indidna University at Bloomington


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

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