loadings.boots: BCa Summaries for the loadings of an mvdareg object

View source: R/loadings.boots.R

loadings.bootsR Documentation

BCa Summaries for the loadings of an mvdareg object

Description

Computes bootstrap BCa confidence intervals for the loadings, along with expanded bootstrap summaries.

Usage

loadings.boots(object, ncomp = object$ncomp, conf = .95)

Arguments

object

an object of class "mvdareg", i.e., a plsFit.

ncomp

number of components in the model.

conf

desired confidence level.

Details

The function computes the bootstrap BCa confidence intervals for fitted mvdareg models where valiation = "oob". Should be used in instances in which there is reason to suspectd the percentile intervals. Results provided across all latent variables or for specific latent variables via ncomp.

Value

A loadings.boots object contains component results for the following:

variable

variable names

actual

Actual loading estimate using all the data

BCa percentiles

confidence intervals

boot.mean

mean of the bootstrap

skewness

skewness of the bootstrap distribution

bias

estimate of bias w.r.t. the loading estimate

Bootstrap Error

estimate of bootstrap standard error

t value

approximate 't-value' based on the Bootstrap Error

bias t value

approximate 'bias t-value' based on the Bootstrap Error

Author(s)

Nelson Lee Afanador (nelson.afanador@mvdalab.com)

References

There are many references explaining the bootstrap. Among them are:

Davison, A.C. and Hinkley, D.V. (1997) Bootstrap Methods and Their Application. Cambridge University Press.

Efron, B. (1992) Jackknife-after-bootstrap standard errors and influence functions (with Discussion). Journal of the Royal Statistical Society, B, 54, 83:127.

Examples

data(Penta)
## Number of bootstraps set to 300 to demonstrate flexibility
## Use a minimum of 1000 (default) for results that support bootstraping
mod1 <- plsFit(log.RAI ~., scale = TRUE, data = Penta[, -1],
               ncomp = 2, validation = "oob", boots = 300)
loadings.boots(mod1, ncomp = 2, conf = .95)

mvdalab documentation built on Oct. 6, 2022, 1:05 a.m.