Monte-Carlo test on a Co-inertia analysis (in C).
randtest.coinertia.Rd
Performs a Monte-Carlo test on a Co-inertia analysis.
Usage
# S3 method for class 'coinertia'
randtest(xtest, nrepet = 999, fixed=0, ...)
References
Dolédec, S. and Chessel, D. (1994) Co-inertia analysis: an alternative method for studying species-environment relationships. Freshwater Biology, 31, 277–294.
Author
Jean Thioulouse Jean.Thioulouse@univ-lyon1.fr modified by Stéphane Dray stephane.dray@univ-lyon1.fr
Note
A testing procedure based on the total coinertia of the analysis
is available by the function randtest.coinertia
. The function
allows to deal with various analyses for the two tables. The test is
based on random permutations of the rows of the two tables. If the row
weights are not uniform, mean and variances are recomputed for each
permutation (PCA); for MCA, tables are recentred and column weights are recomputed. If weights are computed using the data contained in one
table (e.g. COA), you must fix this table and permute only the rows of
the other table. The case of decentred PCA (PCA where centers are
entered by the user) is not yet implemented. If you want to use the
testing procedure for this case, you must firstly center the table and then perform a
non-centered PCA on the modified table. The case where one table is
treated by hill-smith analysis (mix of quantitative and qualitative
variables) will be soon implemented.