MCAvariants {MCAvariants} | R Documentation |
Classic and Ordered Multiple Correspondence Analysis
Description
It performs Classic Multiple Correspondence analysis for nominal variables
(setting catype
= "mca") and Ordered Multiple Correspondence analysis via orthogonal polynomials (setting catype
="omca").
When the categorical variables are nominal and ordinal, you can specify writing FALSE
or TRUE
in the input parameter vordered
.
Usage
MCAvariants(Xtable, catype = "omca", np = 5, vordered=c(TRUE,TRUE,TRUE,TRUE,TRUE))
Arguments
Xtable |
The two-way contingency table. |
catype |
The input parameter for specifying what variant of multiple correspondence analysis is considered.
By default, |
np |
The input parameter for specifying the number of categorical variables. By default, |
vordered |
The flag parameter for specifying what variable is ordered, the ordered variables should be in column close each other.
By default, all the five variables are ordered: |
Value
Description of the output returned
Xtable |
The starting table of variables in reduced (primitive) code. |
rows |
The row number of the starting table. |
cols |
The column number of the starting table (coincident with the variable number). |
rowlabels |
The label of the row individuals. |
columnlabels |
The label of the column variable categories. |
Rprinccoord |
The coordinates of individuals. |
Cprinccoord |
The category variable coordinates. |
inertiaXsum |
The total inertia when multiple correspondence analysis is performed on the indicator table. |
inertiaBurtsum |
The total inertia when multiple correspondence analysis is performed on the Burt table. |
inertias |
Benzecri's Adjusted Inertia values, percentages and cumulative values. |
inertiasAdjusted |
The adjusted inertia values. |
catype |
The kind of multiple correspondence analysis chosen, classical or ordered, that is |
printdims |
The dimension of a matrix in print. By default it is equal to 3. |
comp |
The polynomial components of inertia when |
componentpvalue1 |
The p-value of the polynomial components of total inertia, when |
degreef |
The degree of freedom of polynomial components of total inertia when, |
Note
This function recalls internally two other functions, depending on the setting of the input parameter catype
, it recalls
multiple correspondence analysis or ordered multiple correspondence analysis.
It gives the output object necessary for printing and plotting the results. These two
important functions are print.MCAvariants
and plot.MCAvariants
.
Author(s)
Rosaria Lombardo and Eric J Beh
References
Lombardo R and Meulman JJ (2010) Journal of Classification, 27, 191-210.
Beh EJ Lombardo R (2014) Correspondence Analysis, Theory, Practice and New Strategies. Wiley