breakdown.variance: Breakdown of variance by group

Description Usage Arguments Value References Examples

View source: R/functions_description.r

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

1
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

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

soc.ca documentation built on Sept. 5, 2021, 5:21 p.m.