y.loadings.boots: Extract Summary Information Pertaining to the y-loadings

View source: R/y.loadings.boots.R

y.loadings.bootsR Documentation

Extract Summary Information Pertaining to the y-loadings

Description

Functions to extract the y-loadings from mvdareg and mvdapca objects.

Usage

y.loadings.boots(object, ncomp = object$ncomp, conf = 0.95)

Arguments

object

an mvdareg or mvdapaca object, i.e. plsFit.

ncomp

the number of components to include in the model (see below).

conf

for a bootstrapped model, the confidence level to use.

Details

y.loadings.boots is used to extract a summary of the y-loadings from a PLS or PCA model.

If comps is missing (or is NULL), summaries for all regression estimates are returned. Otherwise, if comps is provided the requested component comps are returned.

For mvdareg objects only, boostrap summaries provided are for actual regression y.loadings, bootstrap percentiles, bootstrap mean, skewness, and bias. These summaries can also be extracted using y.loadings.boots

Author(s)

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

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)
y.loadings(mod1)
y.loadings.boots(mod1)

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