est_to_loo: Turn per-block estimates into leave-one-out estimates

View source: R/resampling.R

est_to_looR Documentation

Turn per-block estimates into leave-one-out 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_loo(arr, block_lengths = NULL)

Arguments

arr

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

block_lengths

Optional block lengths. If NULL, will be parsed from 3rd dimnames in blocks

Value

A 3d array with leave-one-out estimates for jackknife. Dimensions are equal to those of arr.

See Also

loo_to_est est_to_boo


uqrmaie1/admixtools documentation built on March 20, 2024, 8:24 a.m.