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.
threewayboot(Xdata,nboots=100)
The three-way contingency array. It must be an R
object array.
The number of bootstrap samples to generate when boots = T
. By default nboots = 0
.
Rosaria Lombardo, Michel van de Velden, Eric J Beh.
Beh EJ and Lombardo R (2014) Correspondence Analysis, Theory, Practice and New Strategies. John Wiley & Sons.