calc_elppd: Calculate elppd

View source: R/calc_waic.R

calc_elppdR Documentation

Calculate elppd

Description

Calculate the pointwise expected log predictive posterior density for the model

Usage

calc_elppd(host_likelihood, cowbird_likelihood)

Arguments

host_likelihood

three dimensional array of likelihood estimates from calc_likelihood_host

cowbird_likelihood

matrix containing likelihood estimates from calc_likelihood_cowbird

Value

numeric. estimate of the pointwise expected log predictive posterior density

See Also

See Appendix S1 in Broms, Hooten, and Fitzpatrick 2016 for information about the formula


philpatton/cowbird documentation built on March 2, 2023, 3:05 a.m.