computeIndividualM2LL: computeIndividualM2LL

View source: R/RcppExports.R

computeIndividualM2LLR Documentation

computeIndividualM2LL

Description

Computes the -2 log likelihood for a single subject

Usage

computeIndividualM2LL(
  nObservedVariables,
  rawData,
  expectedMeans,
  expectedCovariance
)

Arguments

nObservedVariables

number of non-NA observations for this person

rawData

colvec with observed data for this person

expectedMeans

colvec with predicted manifest means for this person

expectedCovariance

matrix with predicted manifest covariances for this person

Value

double: -2 log likelihood


jhorzek/psydiff documentation built on Sept. 15, 2022, 6:26 a.m.