hunansona/ed4bhm: Empirical Determinacy for Bayesian Hierarchical Models

Until now, it is unclear to what extent data determine the marginal posterior distributions of parameters of Bayesian hierarchical models (BHM). To address this issue we compute the second derivative of the Bhattacharyya coefficient with respect to the weighted likelihood, defined the total empirical determinacy (TED), and its proportion for location (pEDL) and spread (pEDS). This method is implemented in the R package ed4bhm for BHMs fit by INLA, JAGS, and Stan. The empirical determinacy estimates (TED, pEDL, pEDS) clarify to what extent the location and spread of the marginal posterior distribution of parameters are determined by the data. Moreover, we provide bootstrap-based Monte Carlo standard errors of empirical determinacy estimates based on MCMC samples provided by JAGS and Stan.

Getting started

Package details

AuthorSona Hunanyan [aut, cre], Georgios Kazantzidis [aut, cre], Malgorzata Roos [aut]
MaintainerSona Hunanyan <hunan.sona@gmail.com>
LicenseGPL (>=2)
Version1.1.1
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("hunansona/ed4bhm")
hunansona/ed4bhm documentation built on June 15, 2022, 6:42 p.m.