p
when estimates
are required assuming that simulation was from an alternative distribution
with probabilities q
.imp.weights(boot.out, def=TRUE, q=NULL)
"boot"
generated by boot
or tilt.boot
. Typically the
bootstrap simulations would have
been done using importance resampling and we wish to do our calculations
under the assumption of sampling withboot.out
were simulated under a number of different
distributions. If this isboot.out$t
. These
weights can then be used to reweight boot.out$t
so that estimates can be
found as if the simulations were from a distribution with probabilities q
.f
is given by prod((q/p)^f)
. This reweights the replicates so that
estimates can be found as if the bootstrap resamples were generated according
to the probabilities q
even though, in fact, they came from the
distribution p
.Hesterberg, T. (1995) Weighted average importance sampling and defensive mixture distributions. Technometrics, 37, 185--194.
Johns, M.V. (1988) Importance sampling for bootstrap confidence intervals. Journal of the American Statistical Association, 83, 709--714.
boot
, exp.tilt
, imp.moments
, smooth.f
, tilt.boot