simulabootstrat {CA3variants}R Documentation

Generation of parametric bootstrap samples

Description

This function allows to generate 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 total number of the original table. Te adopted sampling scheme is stratified.

Usage

simulabootstrat(Xtable,nboots=100,resamptype=1)

Arguments

Xtable

The three-way data array. It must be an R object array. When non-symmetrical analysis for one response variable is performed, the response mode is the row variable.

nboots

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

resamptype

Set value of resamptype according to two methods: resamptype=1 corresponds to multinomial distribution and resamptype=2 to Poisson distribution.

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.


[Package CA3variants version 3.3.1 Index]