log_lik {geostan}R Documentation

Extract log-likelihood

Description

Extract log-likelihood

Usage

log_lik(object, array = FALSE, ...)

## S3 method for class 'geostan_fit'
log_lik(object, array = FALSE, ...)

Arguments

object

A geostan_fit model

array

Return results as an array, one matrix per MCMC chain?

...

Other arguments (not used)

Value

A matrix (or array) of MCMC samples for the log-likelihood: the casewise probability of the data conditional on estimated parameter values.

See Also

waic dic


[Package geostan version 0.8.1 Index]