est_to_boo: Turn per-block estimates into bootstrap estimates

View source: R/resampling.R

est_to_booR Documentation

Turn per-block estimates into bootstrap estimates

Description

This works for any statistics which, when computed across N blocks, are equal to the weighted mean of the statistics across the N blocks.

Usage

est_to_boo(arr, nboot = dim(arr)[3], block_lengths = NULL)

Arguments

arr

3d array with blocked estimates, with blocks in the 3rd dimension.

nboot

Number of bootstrap iterations

Value

A 3d array with bootstrap estimates. The first two dimensions are equal to those of arr. The 3rd dimension is equal to nboot.

See Also

est_to_loo


uqrmaie1/admixtools documentation built on March 4, 2024, 10:19 p.m.