malinvaudQ4CA.perm: Compute the Malinvaud/Saporta test for the omnibus and...

View source: R/fastInferences4-eigen-CA.R

malinvaudQ4CA.permR Documentation

Compute the Malinvaud/Saporta test for the omnibus and dimensions of a correspondence analysis.

Description

malinvaudQ4CA.perm: Computes the Malinvaud / Saporta test for the omnibus and dimensions of a correspondence analysis. malinvaudQ4CA.perm gives the asymptotic Chi2 values and their associated p-value under the usual assumptions. If provided with permuted CA-eigenvalues, malinvaudQ4CA.perm will report the p-value obtained from the permutation test.

Usage

malinvaudQ4CA.perm(Data, LesEigPerm = NULL, ndigit4print = 4)

Arguments

Data

A matrix suitable for correspondence analysis (i.e., with all non-negative elements).

LesEigPerm

the permuted eigenvalues as a niteration times rank of the data matrix. if LesEigPerm is NULL (Default), malinvaudQ4CA.perm will only compute the normal (i.e., chi2 based) approximation.

ndigit4print

(Default: 4), number of significant digits to use to report the results.

Details

DETAILS

Value

A (self-explanatory) table with the results of the test

Author(s)

Hervé Abdi

References

The original work is described in a rather hard to find paper (published in the proceeding of a meeting) by Malinvaud:

Malinvaud, E. (1987). Data Analysis in applied socio-economic statistics with special considerations of correspondence analysis. Marketing Science Conference Proceedings, HEC-ISA, Jouy-en-Josas.

A synthesis of the method with additional information can be found in

Saporta (2011). Probabilité et Analyse des Données (3rd Ed). Technip, Paris. p. 209.

Examples

## Not run: 
set.seed(87) # set the seed
X <- matrix(round(runif(21)*20), ncol = 3) # good for CA
resMalin <- malinvaudQ4CA.perm(X)

## End(Not run)

HerveAbdi/data4PCCAR documentation built on Sept. 11, 2022, 4:19 p.m.