runjags: an R package providing interface utilities, model templates, parallel computing methods and additional distributions for MCMC models in JAGS

Publikation: Bidrag til tidsskriftTidsskriftartikelForskningfagfællebedømt


  • runjags

    Forlagets udgivne version, 564 KB, PDF-dokument

The runjags package provides a set of interface functions to facilitate running Markov chain Monte Carlo models in JAGS from within R. Automated calculation of appropriate convergence and sample length diagnostics, user-friendly access to commonly used graphical outputs and summary statistics, and parallelized methods of running JAGS are provided. Template model specifications can be generated using a standard lme4-style formula interface to assist users less familiar with the BUGS syntax. Automated simulation study functions are implemented to facilitate model performance assessment, as well as drop-k type cross-validation studies, using high performance computing clusters such as those provided by parallel. A module extension for JAGS is also included within runjags, providing the Pareto family of distributions and a series of minimally-informative priors including the DuMouchel and half-Cauchy priors. This paper outlines the primary functions of this package, and gives an illustration of a simulation study to assess the sensitivity of two equivalent model formulations to different prior distributions.
TidsskriftJournal of Statistical Software
Udgave nummer9
Sider (fra-til)1-25
Antal sider25
StatusUdgivet - 2016

Antal downloads er baseret på statistik fra Google Scholar og

Ingen data tilgængelig

ID: 168325760