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

st: weighting in bootstrapping

From   "Lachenbruch, Peter" <>
To   "statalist (E-mail)" <>
Subject   st: weighting in bootstrapping
Date   Tue, 9 Sep 2003 16:11:25 -0400

I have a stratified sample and have computed a statistic within each
stratum.  It is a ratio of some quantities and there is interest to see if
the ratio is 1.  I want to combine these estimates over the strata to get a
population wide estimate and a test to see if the combined ratio is 1.  The
bsample command allows weights, but I am interested in determining if it is
permissible to issue the command
bootstrap "statacommand y [w=freq]" _b[outvar],reps(1000) bca  etc.
That is, are weights OK in the bootstrapped command?  And do they operate as
if I had a total of N=sum(stratum frequencies) observations, or do they
sample the entire stratum?

I don't have the data in hand yet, so I can't try it out and find out

I need some help with bs  (my friends will, of course, immediately
contradict that)

Peter A. Lachenbruch, Ph. D.
Director, Division of Biostatistics
Phone    (301) 827-3320
FAX        (301) 827-5218

*   For searches and help try:

© Copyright 1996–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index