FCAmet {PTAk}R Documentation

Tool used in Generalisation of Correspondence Analysis for k-way tables

Description

Computes the ratio Observed/Expected under complete independence with margins of the multiple contingency table (in frequencies) and gives chi2 statistic of lack of complete independence.

Usage

 FCAmet(X,chi2=FALSE,E=NULL)

Arguments

X a multiple contingency table (array) of order k
chi2 if TRUE prints the chi2 statistic information
E if not NULL represent a model which would be used for an FCAk relatively to a model

Value

a list with

data an array (X/count (-E))/Indepen where Indepen is the array obtained from he products of the margins
met a list wherein each entry is the vector of the corresponding margins i.e. apply(X,i,sum)/count
count is the total sum sum(X).

Note

The statistics and metrics do not depend on E. The statistic given measure only the lack of independence.

Author(s)

Didier Leibovici c3s2i@free.fr

See Also

FCAk


[Package PTAk version 1.1-12 Index]