Performs a 'specific' Multiple Correspondence Analysis, i.e. a variant of MCA that allows to treat undesirable categories as passive categories.
1 |
data |
data frame with n rows (individuals) and p columns (categorical variables) |
excl |
numeric vector indicating the indexes of the "junk" categories (default is NULL). See "getindexcat" to identify these indexes. |
ncp |
number of dimensions kept in the results (default is 5) |
row.w |
an optional numeric vector of row weights (by default, a vector of 1 for uniform row weights) |
Undesirable categories may be of several kinds: infrequent categories (say, <5 percents), heterogeneous categories (e.g. 'others') or uninterpretable categories (e.g. 'not available'). In these cases, 'specific' MCA may be useful to ignore these categories for the determination of distances between individuals (see Le Roux and Rouanet, 2004 and 2010).
Returns an object of class 'speMCA'
, i.e. a list including:
eig |
a list of vectors containing all the eigenvalues, the percentage of variance, the cumulative percentage of variance, the modified rates and the cumulative modified rates |
call |
a list with informations about input data |
ind |
a list of matrices containing the results for the individuals (coordinates, contributions) |
var |
a list of matrices containing all the results for the categories and variables (weights, coordinates, square cosine, categories contributions to axes and cloud, test values (v.test), square correlation ratio (eta2), variable contributions to axes and cloud |
Nicolas Robette
Le Roux B. and Rouanet H., Multiple Correspondence Analysis, SAGE, Series: Quantitative Applications in the Social Sciences, Volume 163, CA:Thousand Oaks (2010).
Le Roux B. and Rouanet H., Geometric Data Analysis: From Correspondence Analysis to Stuctured Data Analysis, Kluwer Academic Publishers, Dordrecht (June 2004).
getindexcat
, plot.speMCA
, varsup
, contrib
,
modif.rate
, dimdesc.MCA
, MCA
, csMCA
1 2 3 4 5 6 |
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
All documentation is copyright its authors; we didn't write any of that.