Learn R Programming

LatentBMA (version 0.1.2)

Bayesian Model Averaging for Univariate Link Latent Gaussian Models

Description

Bayesian model averaging (BMA) algorithms for univariate link latent Gaussian models (ULLGMs). For detailed information, refer to Steel M.F.J. & Zens G. (2024) "Model Uncertainty in Latent Gaussian Models with Univariate Link Function" . The package supports various g-priors and a beta-binomial prior on the model space. It also includes auxiliary functions for visualizing and tabulating BMA results. Currently, it offers an out-of-the-box solution for model averaging of Poisson log-normal (PLN) and binomial logistic-normal (BiL) models. The codebase is designed to be easily extendable to other likelihoods, priors, and link functions.

Copy Link

Version

Install

install.packages('LatentBMA')

Monthly Downloads

163

Version

0.1.2

License

MIT + file LICENSE

Maintainer

Gregor Zens

Last Published

April 8th, 2025

Functions in LatentBMA (0.1.2)

plotModelSize

Visualization of Model Size Posterior Distribution
summaryBMA

Summary Tables for ULLGM_BMA Estimation Results
topModels

Extract Top Models from ULLGM_BMA Estimation Results
tracePlot

Traceplots for Selected Parameters
plotPIP

Visualization of Posterior Inclusion Probabilities
ULLGM_BMA

Bayesian Model Averaging for Poisson Log-Normal and Binomial Logistic-Normal Regression Models
plotBeta

Visualization of Posterior Means of Coefficients