You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For at least two projects we will have to work with reweighting factors which will affect how the mean should be computed on each sample. Unfortunately, tsboot offers no real help unless we store the reweighting factor as a row in the original data (which would be a terrible idea) and supply our own mean function which then properly computes the mean with measurements rescaled by the appropriate reweighting factors and divided by the appropriate sum of the factors.
The only straightforward way I see for implementing this is to multiply the data with the reweighting factors and run tsboot or boot as usual. At this point there are two options:
reset the seed and bootstrap the reweighting factors and then normalise each bootstrap sample with the correct sum over the reweighting factors
use boot.array to get the indices used by tsboot or boot in the previous step and normalise each boostrap sample by the correct sum over the reweighting factors.
@urbach After this, the variance should be given as usual, right?
The text was updated successfully, but these errors were encountered:
For at least two projects we will have to work with reweighting factors which will affect how the mean should be computed on each sample. Unfortunately,
tsboot
offers no real help unless we store the reweighting factor as a row in the original data (which would be a terrible idea) and supply our own mean function which then properly computes the mean with measurements rescaled by the appropriate reweighting factors and divided by the appropriate sum of the factors.The only straightforward way I see for implementing this is to multiply the data with the reweighting factors and run
tsboot
orboot
as usual. At this point there are two options:boot.array
to get the indices used bytsboot
orboot
in the previous step and normalise each boostrap sample by the correct sum over the reweighting factors.@urbach After this, the variance should be given as usual, right?
The text was updated successfully, but these errors were encountered: