totalCorMat: Total Correlation Matrix

View source: R/totalCorMat.R

totalCorMatR Documentation

Total Correlation Matrix

Description

Computes the pairwise total correlation (totalCor) for a dataset

Usage

totalCorMat(data, base = 2.718282, normalized = FALSE)

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

normalized

Boolean (length = 1). Should the normalized total correlation be computed? Defaults to FALSE

Value

Returns a symmetric matrix with pairwise total correlations

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 matrix
totalCorMat(wmt2[,7:24])


EGAnet documentation built on Sept. 28, 2024, 9:06 a.m.