Learn R Programming

EGAnet (version 1.2.3)

totalCor: Total Correlation

Description

Computes the total correlation of a dataset

Usage

totalCor(data)

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

Arguments

data

Matrix or data frame. Variables to be used in the analysis

Author

Hudson F. Golino <hfg9s at virginia.edu>

References

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

# 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

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

Run the code above in your browser using DataLab