totalCor: Total Correlation

View source: R/totalCor.R

totalCorR Documentation

Total Correlation

Description

Computes the total correlation of a dataset

Usage

totalCor(data, base = 2.718282)

Arguments

data

Matrix or data frame. Should consist only of variables to be used in the analysis

base

Numeric (length = 1). Base to use for entropy. Defaults to exp(1) or 2.718282

Value

Returns a list containing:

Ind.Entropies

Individual entropies for each variable

Joint.Entropy

The joint entropy of the dataset

Total.Cor

The total correlation of the dataset

Normalized

Total correlation divided by the sum of the individual entropies minus the maximum of the individual entropies

Author(s)

Hudson F. Golino <hfg9s at virginia.edu>

References

Formalization of total correlation
Watanabe, S. (1960). Information theoretical analysis of multivariate correlation. IBM Journal of Research and Development 4, 66-82.

Applied implementation
Felix, L. M., Mansur-Alves, M., Teles, M., Jamison, L., & Golino, H. (2021). Longitudinal impact and effects of booster sessions in a cognitive training program for healthy older adults. Archives of Gerontology and Geriatrics, 94, 104337.

Examples

# Compute total correlation
totalCor(wmt2[,7:24])


hfgolino/EGA documentation built on Nov. 11, 2024, 9:28 p.m.