calcBCaZ0 | R Documentation |
Returns the estimated bias quantile for the BCa confidence interval.
calcBCaZ0(bootStat, origStat)
bootStat |
numeric vector. Bootstrap sample statistics. |
origStat |
numeric. Original sample statistic. |
A numeric vector of length one that is the estimate of the bias quantile.
respVec = c( 0.096888, 0.115579, 0.13671, 0.086497, 0.5248,
1.676752, 0.46717, 0.360975, 0.118718 )
origStat = mean(respVec)
bootVec = boot::boot( respVec, function(x,w) mean(x[w]), R = 2e3 )$t
calcBCaZ0( bootVec, origStat )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.