Describes the test-values of a list of supplementary variables for the axes of MCA and variants of MCA

Share:

Description

Computes test-values for a list of supplementary variables. It allows to analyze variants of MCA, such as 'specific' MCA or 'class specific' MCA.

Usage

1
dimvtest(resmca, l, n, dim = 1:resmca$call$ncp)

Arguments

resmca

object of class 'MCA', 'speMCA', 'csMCA' or 'stMCA'

l

a list of supplementary variables

n

a vector of names for the supplementary variables. The vector's length must be equal to 'l''s length

dim

the axes for which eta2 are computed. Default is 1:ncp

Details

Test-values are ordered and only those higher than 2.58 (or lower than -2.58) are kept.

Value

Returns a list of data frames giving the test-values of the supplementary categories for the different axes.

Author(s)

Nicolas Robette

References

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).

See Also

dimdesc, dimdesc.MCA, dimeta2, dimcontrib, condes, speMCA, csMCA

Examples

1
2
3
4
5
6
7
## Performs a specific MCA on 'Music' example data set
## ignoring every 'NA' (i.e. 'not available') categories,
## and then describes the test-values for Gender and Age (axes 1 and 2).
data(Music)
getindexcat(Music[,1:5])
mca <- speMCA(Music[,1:5],excl=c(3,6,9,12,15))
dimvtest(mca,list(Music$Gender,Music$Age),c('Gender','Age'),dim=1:2)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.