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.
Arguments
- model
A measrfit object.
Value
A "draws_array
" object containing the
log-likelihood estimates for the model.