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.
FCAmet(X,chi2=FALSE,E=NULL,No0margins=TRUE)
a list with
an array (X/count (-E))/Indepen
where Indepen
is the array obtained
from he products of the margins
a list wherein each entry is the vector of the corresponding margins i.e.
apply(X,i,sum)/count
is the total sum sum(X).
a multiple contingency table (array) of order k
if TRUE
prints the chi2 statistic information
if not NULL
represent a model which
would be used for an FCAk
relatively to a model
if TRUE, prevents zero margins in replacing cells involved by the min of the non-zero margins /nb of zero cells
Didier G. Leibovici
FCAk