perc.cis | R Documentation |
Computes percentile bootstrap confidence intervals for chosen parameters for plsFit
models fitted with validation = "oob"
perc.cis(object, ncomp = object$ncomp, conf = 0.95, type = c("coefficients", "loadings", "weights"))
object |
an object of class |
ncomp |
number of components to extract percentile intervals. |
conf |
confidence level. |
type |
input parameter vector. |
The function fits computes the bootstrap percentile confidence intervals for any fitted mvdareg
model.
A perc.cis object contains component results for the following:
ncomp |
number of components in the model |
variables |
variable names |
boot.mean |
mean of the bootstrap |
percentiles |
confidence intervals |
Nelson Lee Afanador (nelson.afanador@mvdalab.com)
There are many references explaining the bootstrap and its implementation for confidence interval estimation. Among them are:
Davison, A.C. and Hinkley, D.V. (1997) Bootstrap Methods and Their Application. Cambridge University Press.
Efron, B. and Tibshirani, R. (1993) An Introduction to the Bootstrap. Chapman & Hall.
Hinkley, D.V. (1988) Bootstrap methods (with Discussion). Journal of the Royal Statistical Society, B, 50, 312:337, 355:370.
data(Penta) ## Number of bootstraps set to 250 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 = 250) perc.cis(mod1, ncomp = 1:2, conf = .95, type = "coefficients")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.