createAllNormedFactors: Create all the normalization for the factor scores of a CA:...

View source: R/Normalization4CA.R

createAllNormedFactorsR Documentation

Create all the normalization for the factor scores of a CA: Symmetric (the standard), Asymetric, and True-Barycentric factor scores.

Description

Create all the different normalization for the rows and columns of a correspondence analysis: Re-normalize a set of CA factor scores to be 1) Asymetric: points are 1) the vertices of the simplex, (Inertia per dimension = Eigenvalues = 1) and 2) True Barycentric: points of one set are at the true barycenter of the points of the other set (Inertia per dimension = Eigenvalues^2 of the standard-aka symmetric analysis). These re-normalizations schemes make sense only when the sets of items for rows and columns are asymmetric such as for example when one set represents an independent variable and the other one a dependent variable (e.g., "check all that apply" data). When plotting both sets on the same map, the independent variable will be the set with the largest inertia. This is possible with two different configurations: 1) IV-set with Asymmetric and DV-set Symmetric, or 2) IV-set with symmetric and DV-set with True Barycentric.

Usage

createAllNormedFactors(ResFrom.epCA, namesOfFactors = "Dimension")

Arguments

ResFrom.epCA

The results from ExPosition::epCA

namesOfFactors

the names of the factors (default is 'Dimension')

Value

a list with the normalized factor scores Fi (I-set original factor scores), Fi_A (I-set asymmetric normalization), Fi_B (I-set true barycentric), Fi_P (I-set Greenacre's Biplot), Fi_S (I-set SPSS strange biplot), Fj (J-set original factor scores), Fj_A (J-set asymmetric normalization), Fj_B (J-set true barycentric), Fj_P (J-set Greenacre's Biplot), Fj_S (J-set SPSS strange biplot) @examples # Use the colorOfMusic data example data("colorOfMusic") # NB need to have ExPosition installed resCA <- ExPosition::epCA(colorCT, graphs = FALSE) renormedFactors <- createAllNormedFactors(resCA)

Author(s)

Herve Abdi


HerveAbdi/PTCA4CATA documentation built on July 17, 2022, 5:41 a.m.