Welcome

This page contains supplementary material for "Extending JAGS: A tutorial on adding custom distributions to JAGS (with a diffusion model example)" by Dominik Wabersich and Joachim Vandekerckhove ().

This site contains resources that may not be archival or reviewed. The files made available here may not be what they seem at first sight. Please do not cite without consulting the authors.

Files

— SourceForge repository
— Poster at Meeting of the Society for Mathematical Psychology, 2013

Abstract

We demonstrate how to add a custom distribution into the general-purpose, open-source, cross-platform graphical modeling package JAGS ("Just Another Gibbs Sampler"). JAGS is intended to be modular and extensible, and modules written in the way laid out here can be loaded at runtime as needed and do not interfere with regular JAGS functionality when not loaded. Writing custom extensions requires knowledge of C++, but installing a new module can be highly automatic, depending on the operating system. As a basic example, we implement a Bernoulli distribution in JAGS. We further present our implementation of the Wiener diffusion first passage time distribution, which is freely available via https://sourceforge.net/projects/jags-wiener/.

disclaimer By clicking on any of these links (including, but not limited to, the downloading of any PDF file from any server), you agree to forfeit and cede on your own behalf and on behalf of any past, current, or future employer, any exclusive claim to intellectual property or copyright relating to any of the materials so obtained.