tefi: Total Entropy Fit Index using Von Neumman's entropy (Quantum...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/tefi.R

Description

Computes the fit (TEFI) of a dimensionality structure using Von Neumman's entropy when the input is a correlation matrix. Lower values suggest better fit of a structure to the data.

Usage

1

Arguments

data

A dataset or a correlation matrix

structure

A vector representing the structure (numbers or labels for each item). Can be theoretical factors or the structure detected by EGA

Value

Returns a list containing:

Entropy.Fit

The Entropy Fit Index using Von Neumman's entropy

Total.Correlation

The total correlation of the dataset

Average.Entropy

The average entropy of the dataset

Author(s)

Hudson F. Golino <hfg9s at virginia.edu>, Alexander P. Christensen <[email protected]> and Robert Moulder <[email protected]>

See Also

EGA to estimate the number of dimensions of an instrument using EGA and CFA to verify the fit of the structure suggested by EGA using confirmatory factor analysis.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# Load data
wmt <- wmt2[,7:24]

## Not run: 
# Estimate EGA model
ega.wmt <- EGA(data = wmt, model = "glasso")


## End(Not run)

# Compute entropy indices
tefi(data = wmt, structure = ega.wmt$wc)

hfgolino/EGA documentation built on Aug. 22, 2019, 3:36 p.m.