<< (X) One matrix of contingency (X) One matrix of contingency (X->X) Pretraitments by orthogonal projection >>

fact >> (X) One matrix of contingency > ca

ca

correspondence analysis

Calling sequence

result= ca(x_contingency);

Arguments

x_contingency:

a contingency matrix of dimension (n x q) or a Div structure

result.stats:

three lines corresponding to three statistics: 'eigenvalues', 'percentage of inertia' and 'percentage of cumulated inertia'; the columns correspond to the number of dimensions

result.scores:

n first lines= scores of the lines; q last lines = scores of the columns of x_contingency; the columns of result.scores.d correspond to the dimensions of the models

result.contributions:

n first lines= contributions of the lines; q last lines = contributions of the columns of x_contingency; the columns of result.contributions.d correspond to the dimensions of the models

result.squared_cos:

n first lines= squared cosinus of the lines; q last lines = squared cosinus of the columns of x_contingency; the columns of result.squared_cosinus.d correspond to the dimensions of the models

result.khi2:

the khi2 of the contingency table

result.df:

the degrees of freedom of the contingency table

result.probability:

the probability of random values in the contingency table

Examples

[res]=ca(x)

Bibliography

Authors


Report an issue
<< (X) One matrix of contingency (X) One matrix of contingency (X->X) Pretraitments by orthogonal projection >>