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,No0margins=TRUE)
Arguments
X |
a multiple contingency table (array) of order k |
chi2 |
if |
E |
if not |
No0margins |
if TRUE, prevents zero margins in replacing cells involved by the min of the non-zero margins /nb of zero cells |
Value
a list with
data |
an array |
met |
a list wherein each entry is the vector of the corresponding margins i.e.
|
count |
is the total sum |
Note
The statistics and metrics do not depend on E
. The statistic given measure only the lack of independence.
Author(s)
Didier G. Leibovici