bootstrap {coefficientalpha}R Documentation

Bootstrap se and CI for alpha and omega

Description

Bootstrap se and CI for alpha and omega.

Usage

bootstrap(y, type="omega", alpha=.95, nboot=1000, ci="bc", plot=FALSE, 
varphi=0, complete=FALSE, auxiliary=NULL, silent=FALSE)

Arguments

y

Data

type

omega: coefficient omega. Otherwise, coefficient alpha.

alpha

Confidence level.

nboot

Number of bootstrap samples to use

ci

bc: Bias-corrected CI. Otherwise, the percentile CI is used.

plot

Whether to plot the bootstrap density.

varphi

Downweight rate

complete

Calculate alpha/omega only based on complete data (listwise deletion)

auxiliary

Provide a matrix or data frame of auxiliary variables for missing data analysis.

silent

Whether to print information of the analysis.

Author(s)

Zhiyong Zhang and Ke-Hai Yuan

References

Zhang, Z. & Yuan, K.-H. (2014). Robust Coefficients Alpha and Omega and their Confidence Intervals: Methods and Software.

Examples

data(example)

boot.test<-bootstrap(example, type='alpha', nboot=10, plot=TRUE)

[Package coefficientalpha version 0.7.2 Index]