Learn R Programming

soc.ca (version 0.8.0)

breakdown.variance: Breakdown of variance by group

Description

Defining a partition of the cloud of individuals into groups, one can calculate the midpoints of the various groups. The total variance of the cloud of individuals can then be broken down to between<U+2013>within variances, i.e. variance between the groups partitioning the cloud, and variance within the groups The ratio of the between-variance to the total variance is denoted by n2 (eta-square), and accounts for the percentage of variance 'explained' by the group-variable. (see Le Roux & Rouanet 2010, p. 20ff, 69, 114)

Usage

breakdown.variance(object, dim = 1:3, variable)

Arguments

object

is a soc.ca class object

dim

the dimensions

variable

a factor in the same length and order as the active variables

Value

a matrix

References

Le Roux, Brigitte, and Henry Rouanet. 2010. Multiple Correspondence Analysis. Thousand Oaks, Calif.: Sage Publications.

Examples

Run this code
# NOT RUN {
example(soc.ca)
breakdown.variance(result, dim = 1:3, variable = sup$Gender)
# }

Run the code above in your browser using DataLab