Learn R Programming

semPower (version 2.1.1)

getCFI.Sigma: getCFI.Sigma

Description

Computes CFI given the model-implied and the observed (or population) covariance matrix: CFI = (F_null - F_hyp) / F_null.

Usage

getCFI.Sigma(SigmaHat, S, muHat = NULL, mu = NULL, fittingFunction = "ML")

Value

Returns CFI

Arguments

SigmaHat

model implied covariance matrix

S

observed (or population) covariance matrix

muHat

model implied mean vector

mu

observed (or population) mean vector

fittingFunction

whether to use ML or WLS