getCyclopsPredictiveLogLikelihood: Compute predictive log-likelihood from a Cyclops model fit

View source: R/ModelFit.R

getCyclopsPredictiveLogLikelihoodR Documentation

Compute predictive log-likelihood from a Cyclops model fit

Description

getCyclopsPredictiveLogLikelihood returns the log-likelihood of a subset of the data in a Cyclops model fit object.

Usage

getCyclopsPredictiveLogLikelihood(object, weights)

Arguments

object

A Cyclops model fit object

weights

Numeric vector: vector of 0/1 identifying subset (=1) of rows from object to use in computing the log-likelihood

Value

The predictive log-likelihood


Cyclops documentation built on Nov. 2, 2023, 6:03 p.m.