sem_neg2ll: SEM (-2 Loglikelihood)

Description Usage Arguments

View source: R/sem_fit.R

Description

Calculates -2 loglikelihood. If log_h0 and log_h1 are provided, obs, imp, and n are not needed. If log_h0 and log_h1 are not provided, obs, imp, and n are needed.

Usage

1
sem_neg2ll(obs = NULL, imp = NULL, n = NULL, log_h0 = NULL, log_h1 = NULL)

Arguments

obs

Observed sample variance-covariance matrix.

imp

Model-implied variance-covariance matrix.

n

Sample size.

log_h0

Loglikelihood H0.

log_h1

Loglikelihood H0.


jeksterslabds/jeksterslabRds documentation built on July 16, 2020, 3:41 p.m.