mc.calc.tboot {mcr}R Documentation

Bootstrap-t Method for Calculation of Resampling Confidence Intervals

Description

Calculate resampling confidence intervals for intercept, slope or bias with t-Boot method given a vector of bootstrap point estimates and a vector of bootstrap standard deviations.

Usage

mc.calc.tboot(Xboot, Sboot, xhat, shat, alpha)

Arguments

Xboot

vector of point estimates for bootstrap sample. The i-th element contains the point estimate for the i-th bootstrap sample.

Sboot

vector of standard deviations for each bootstrap sample. It schould be estimated with any analytical method or nonparametric with nested bootstrap.

xhat

point estimate for the complete data set (scalar).

shat

estimate of standard deviation for the complete data set (scalar).

alpha

numeric value specifying the 100(1-alpha)% confidence level for the confidence interval (Default is 0.05).

Value

a list with elements

est

point estimate for the complete data set (xhat).

se

estimate of standard deviation for the complete data set (shat).

CI

confidence interval for the point estimate.

References

Carpenter, J., Bithell, J. (2000) Bootstrap confidence intervals: when, which, what? A practical guide for medical statisticians. Stat Med, 19 (9), 1141–1164.


[Package mcr version 1.3.3 Index]