nllikCalc: Negative Log-Likelihood

View source: R/cvTune.R

nllikCalcR Documentation

Negative Log-Likelihood

Description

This function calculates the negative log-likelihood for selecting the optimal tuning parameters using cross-validation.

Usage

nllikCalc(omegaks, datf)

Arguments

omegaks

p x p x K array of K number of estimated subject-level precision matrices.

datf

List of K data matrices each of dimension n_k x p.

Value

Negative log-likelihood


dilernia/rccm documentation built on Sept. 25, 2022, 9:40 a.m.