This function extracts point-wise log-likelihood values and then calculates LOO statistics.
Usage
get_loo(data, object, posterior)
Arguments
- data
a list
containing the data that was passed to MakeADFun
.
- object
A list
specifying the AD object created using MakeADFun
.
- posterior
An rstan
objected created using the tmbstan
function.