loglik_array: Extract the log-likelihood of an estimated model

View source: R/utils-loo.R

loglik_arrayR Documentation

Extract the log-likelihood of an estimated model

Description

The loglik_array() methods for measrfit objects calculates the log-likelihood for an estimated model via the generated quantities functionality in Stan and returns the draws of the log_lik parameter.

Usage

loglik_array(model)

## S3 method for class 'measrdcm'
loglik_array(model)

Arguments

model

A measrfit object.

Value

A "draws_array" object containing the log-likelihood estimates for the model.


wjakethompson/measr documentation built on April 12, 2025, 9:46 p.m.