library(kableExtra)
library(coda)

This is an overview of an R package I am currently developing as part of a research paper looking into virus dynamics in bat populations of Australia.

The link to the github repo is: https://github.com/aaronm70/batMods, which contains all code and associated data.

Overview

batMods fits a number of discrete time stochastic models of varying structures with and without seasonal forces, to observed bat virus data (currently from boonah australia [@field2015spatiotemporal]), using particle MCMC based methods. The goal is to identify which dynamical model best represents the observed viral samples from wild populations and gain further insight into between-host viral dynamics in bats. Model comparison is conducted using an approximate leave one out cross validation algorithm, incorporating Pareto smoothed importance sampling [@VehtariLooPackage]. This algorithm uses pointwise likelihood values to compute the log pointwise predictive density and its Monte Carlo standard error, the effective number of parameters, Pareto k diagnostic values (which can help assess if a model is well specified) and an information criterion "looic" (lower values suggest a better model fit). [@vehtari2017practical;@vehtari2015pareto;@AkiLoo].


knitr::include_graphics("/Users/alm204/OneDrive/Cambridge/Projects/model_comparisons/figures/adultMod-Paper.png")


References



aaronm70/batMods documentation built on Sept. 8, 2021, 7:05 a.m.