calc_pdwaic: Calculate pdwaic

View source: R/calc_waic.R

calc_pdwaicR Documentation

Calculate pdwaic

Description

Calculate the pD_WAIC, an estimate of model complexity

Usage

calc_pdwaic(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 pdwaic

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.