localSRMD: localSRMD for Genomic measurement invariance models

View source: R/localSRMD.R

localSRMDR Documentation

localSRMD for Genomic measurement invariance models

Description

Given a set of parameter values from Genomic SEM models, calculate the extent to which groups differ on these parameters.

Usage

 localSRMD(unconstrained, constrained, lhsvar, rhsvar, ...)

Arguments

unconstrained

A vector of parameter values from an unconstrained structural equation model, where focal parameters are estimated freely in each group.

constrained

A vector of parameter values from a constrained structural equation model, where focal parameters are constrained to be equal across groups.

lhsvar

A list containing the variances, in each group, of the variables in the usermodel() results column lhs

rhsvar

A list containing the variances, in each group, of the variables in the usermodel() results column rhs

Value

The function returns the average standardized extent to which estimates from a constrained set of structural equation model parameters differ from those obtained when the same set of parameters are freely estimated.


MichelNivard/GenomicSEM documentation built on Dec. 19, 2024, 8:01 a.m.