calcBCaZ0Boot: Calculate z0 from bootstrap data.

Description Usage Arguments Value Examples

View source: R/calcBootEst.R

Description

Wrapper function around calc_bca_p0 and calc_bca_z0 that calculates z0 from raw data. This is different to calc_bca_z0, which calculates z0 based on a given p0.

Usage

1
calcBCaZ0Boot(bootVec, origStat)

Arguments

bootVec

numeric vector. Vector of bootstrap estimates.

origStat

numeric. Estimate from estimate applied to the whole sample.

Value

z0

Examples

1
calcBCaZ0Boot( rnorm( 20 ), 0.05 )

MiguelRodo/ggboot documentation built on May 1, 2018, 12:22 a.m.