breakdown.variance: Breakdown of variance by group

View source: R/functions_description.r

breakdown.varianceR Documentation

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–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

example(soc.ca)
breakdown.variance(result, dim = 1:3, variable = sup$Gender)

Rsoc/soc.ca documentation built on March 7, 2024, 8:59 p.m.