getCFI.Sigma.mgroups: getCFI.Sigma.mgroups

View source: R/effectSizes.R

getCFI.Sigma.mgroupsR Documentation

getCFI.Sigma.mgroups

Description

Computes CFI given the model-implied and the observed (or population) covariance matrix for multiple group models. CFI = (F_null - F_hyp) / F_null applying multiple group sampling weights to F_hyp and F_null.

Usage

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

Arguments

SigmaHat

a list of model implied covariance matrix

S

a list of observed (or population) covariance matrix

muHat

model implied mean vector

mu

observed (or population) mean vector

N

a list of group weights

fittingFunction

whether to use ML or WLS

Value

Returns CFI


semPower documentation built on Sept. 30, 2024, 9:24 a.m.