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]

st: bootstrapping question


From   Shuaizhang Feng <[email protected]>
To   [email protected]
Subject   st: bootstrapping question
Date   Wed, 11 Sep 2013 22:14:15 +0800

Dear list:

I have a question on using bootstrap to generate standard errors.
Suppose I have a sample of size N, with three variables: x1, x2, and
x3, all of them are zero/one dummies. Further, for any observation:
x1+x2+x3=1.  What i am interested is m=sum(x1)/sum(x2), or
equivalently m=mean(x1)/mean(x2).  how can i use stata bootstrap
command to estimate standard errors for m?

Thanks in advance for your help!

SZ
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index