Learn R Programming

soc.ca (version 0.8.0)

soc.csa: Class Specific Multiple Correspondence Analysis

Description

soc.csa performs a class specific multiple correspondence analysis on a data.frame of factors, where cases are rows and columns are variables. Most descriptive and analytical functions that work for soc.mca, also work for soc.csa

Usage

soc.csa(object, class.indicator, sup = NULL)

Arguments

object

is a soc.ca class object created with soc.mca

class.indicator

the row indices of the class specific individuals

sup

Defines the supplementary modalities in a data.frame with rows of individuals and columns of factors, without NA's

Value

nd

Number of active dimensions

n.ind

The number of active individuals

n.mod

The number of active modalities

eigen

Eigenvectors

total.inertia

The sum of inertia

adj.inertia

A matrix with all active dimensions, adjusted and unadjusted inertias. See variance

freq.mod

Frequencies for the active modalities. See add.to.label

freq.sup

Frequencies for the supplementary modalities. See add.to.label

ctr.mod

A matrix with the contribution values of the active modalities per dimension. See contribution

ctr.ind

A matrix with the contribution values of the individuals per dimension.

cor.mod

The correlation or quality of each modality per dimension.

cor.ind

The correlation or quality of each individual per dimension.

mass.mod

The mass of each modality

coord.mod

A matrix with the principal coordinates of each active modality per dimension.

coord.ind

A matrix with the principal coordinates of each individual per dimension.

coord.sup

A matrix with the principal coordinates of each supplementary modality per dimension. Notice that the position of the supplementary modalities in class specific analysis is the mean point of the individuals, which is not directly comparable with the cloud of the active modalities.

indicator.matrix

A indicator matrix. See indicator

names.mod

The names of the active modalities

names.ind

The names of the individuals

names.sup

The names of the supplementary modalities

names.passive

The names of the passive modalities

modal

A matrix with the number of modalities per variable and their location

variable

A vector with the name of the variable for each of the active modalities

variable.sup

A vector with the name of the variable for each of the supplementary modalities

original.class.indicator

The class indicator

original.result

The original soc.ca object used for the CSA

References

Le Roux, B., og H. Rouanet. 2010. Multiple correspondence analysis. Thousand Oaks: Sage.

See Also

add.to.label, contribution

Examples

Run this code
# NOT RUN {
example(soc.ca)
class.age    <- which(taste$Age == '55-64')
res.csa      <- soc.csa(result, class.age)
res.csa
# }

Run the code above in your browser using DataLab