calcBCaA: Calculate BCa acceleration factor

View source: R/calcBootEst.R

calcBCaAR Documentation

Calculate BCa acceleration factor

Description

Returns the estimated acceleration factor for the BCa confidence interval in the one-sample non-parametric case, using the standard jack-knife.

Usage

calcBCaA(origData, calcStat)

Arguments

origData

numeric vector. Original sample.

calcStat

function. A numeric function that takes a single numeric vector as an argument and returns a numeric vector of length 1 as output.

Value

A numeric vector of length one that is the estimate of the acceleration factor.

Examples

calcBCaA( c( 0.096888, 0.115579, 0.13671, 0.086497, 0.5248,
1.676752, 0.46717, 0.360975, 0.118718 ), calcStat = mean)

MiguelRodo/ggboot documentation built on Nov. 9, 2023, 5:45 p.m.