Skip to contents

Adaptation functions

Functions for tuning the proposal distribution and partilce numbers.

adapt_particles()
Adapt the number of particles
adapt_proposal()
Adapt the proposal distribution of MCMC using the covariance of samples

Analysis functions

Functions for analysing LibBi results.

acceptance_rate()
Compute acceptance rate
DIC(<libbi>)
Compute Deviance Information Criterion (DIC) for a libbi model

Date conversion

Functions for converting between libbi times and dates.

numeric_to_time()
Convert numeric times to actual times or dates
time_to_numeric()
Convert actual times or dates to numeric times