Learn R Programming

kimod (version 1.0.0)

Bootstrap: Funtion Bootstrap of a DiStatis object

Description

This function is use to make Bootstrap from DiStatis object. Bootstrap resampling techniques are applied on the residuals matrices obtained from SVD of the Compromise and the RV matrix to do multiple comparisions between studies and confidence elipses for the projections of observations in the compromise.

Usage

Bootstrap(object, NRep = 100, Dims = 2)

## S3 method for class 'DiStatis':
Bootstrap(object, NRep = 100, Dims = 2)

Arguments

object
It is the object of DiStatis Class.
NRep
Number of repetitions to do the bootstraping. Default is 100.
Dims
Number of dimensions used to do the bootstraping. Default is 2.

Value

  • BootstrapBootstrap class object with the corresponding completed slots according to the given model

References

  1. Efron, B.,Tibshirani, RJ. (1993). An introduction to the bootstrap. New York: Chapman and Hall. 436p.
  2. Ringrose, T.J. (1992). Bootstrapping and Correspondence Analysis in Archaeology. Journal of Archaeological. Science.19:615-629.

Examples

Run this code
{
data(NCI60Selec)
Z1<-DiStatis(NCI60Selec)
B<-Bootstrap(Z1)
Z2<-DiStatis(NCI60Selec,Center=FALSE,Scale=FALSE)
B2<-Bootstrap(Z2,NRep=200)

}

Run the code above in your browser using DataLab