threewayboot: Generation of non-parametric bootstrap samples

View source: R/threewayboot.R

threewaybootR Documentation

Generation of non-parametric bootstrap samples

Description

This function allows to generate non-parametric bootstrap samples in order to check the optimal dimension number of three-way correspondence analysis. The boostrap samples have the same marginal proportions and the total number of the original table. Do nboots bootstrap on the indicator matrix X (observations x (rows+cols+tubs) categories). From a three-way contingency table, it makes the indicator using makeindicator. The output is a list of three-way tables.

Usage

threewayboot(Xdata,nboots=100)

Arguments

Xdata

The three-way contingency array. It must be an R object array.

nboots

The number of bootstrap samples to generate when boots = T. By default nboots = 0.

Author(s)

Rosaria Lombardo, Michel van de Velden, Eric J Beh.

References

Beh EJ and Lombardo R (2014) Correspondence Analysis, Theory, Practice and New Strategies. John Wiley & Sons.


CA3variants documentation built on Oct. 10, 2022, 5:07 p.m.