Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Bootstrap with strata and sample sizes less than N


From   Mike Lacy <Michael.Lacy@colostate.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Bootstrap with strata and sample sizes less than N
Date   Sat, 08 Apr 2006 10:44:32 -0600

I'm interested in getting a bootstrap distribution of the difference in the value of a statistic across two groups, with the
sample size for each group being less than what prevails in the full sample, and the statistic being computed by a user-written program. Let's say, for example, that the total sample is 1000, with N1 = 400 in group 1 and N2 = 600 in group 2, and let's say that I want bootstrap samples with n1 =10 from group 1 and n2 = 20 from group 2, in order to compute the difference in ranges across groups. Now, if n1 = N1 and n2 = N2, the -strata- option on
-bootstrap- would do it, but I'm interested in n1 < N1 and n2< N2. I could imagine using -simulate-, and doing my own sampling routine within the simulated program, but I was hoping for a simpler solution.

Regards,

=-=-=-=-=-=-=-=-=-=-=-=-=
Mike Lacy
Fort Collins CO USA
(970) 491-6721 office






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