Skip to content

sbfnk/rbi.helpers

Repository files navigation

Helper functions for the rbi package

GitHub R package version R-CMD-check codecov GitHub contributors License: GPL v3 CRAN status

rbi.helpers is collection of helper functions to use with rbi, an R interface to LibBi, a library for Bayesian Inference.

It contains:

  • adapt_proposal, to adapt the proposal distribution of a model according to the empirical standard deviations of accepted parameters
  • adapt_particles, to adapt the number of particles at a given point in parameter space.
  • DIC, to compute the DIC of a pMCMC run
  • acceptance_rate, to calculate the acceptance rate of a pMCMC run

Installation

The easiest way to install rbi.helpers is to use the remotes package:

# install.packages("remotes")
remotes::install_github("sbfnk/rbi.helpers")

About

Helper functions for inference with LibBi. Building on the rbi library.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages