computeELPD: computeELPD

Description Usage Arguments Value

View source: R/utils.R

Description

adapted from https://github.com/stan-dev/stancon_talks/blob/master/2017/Contributed-Talks/07_nicenboim/kfold.Rmd the ELPD is the theoretical expected log pointwise predictive density for the held-out data the loglik from the fit is a n_iter x T matrix, the pointwise is 1 x T vector, elpd is the sum of pointwise

Usage

1
computeELPD(log_lik_heldout)

Arguments

log_lik_heldout:

Value

dataframe


xiaoyuezhuu/risky-muscimol documentation built on Jan. 7, 2022, 12:27 a.m.