getM2LogL_cov: getM2LogL_cov

View source: R/getM2LogL_cov.R

getM2LogL_covR Documentation

getM2LogL_cov

Description

Note: laremm is based on the R package regsem. Because of the early status of laremm, it is recommended to use regsem instead!

Usage

getM2LogL_cov(ExpCov, ObsCov, NManif, NObs, useBiasedCov = T)

Arguments

ExpCov

Expected covariance matrix

ObsCov

Observed covariance matrix

NManif

Number of manifest variables in the data set

NObs

Sample size

useBiasedCov

if TRUE, the biased covariance is used to compute the -2LogL

Details

This function computes the -2log(Likelihood) based on the formula reported in Bollen 1989, p. 133

Author(s)

Jannik Orzek


jhorzek/laremm documentation built on Sept. 16, 2022, 12:06 p.m.