est_to_boo: Turn per-block estimates into bootstrap estimates

Description Usage Arguments Value See Also

View source: R/resampling.R

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

1
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 Sept. 16, 2020, 5:55 a.m.