Extending JAGS: a tutorial on adding custom distributions to JAGS (with a diffusion model example).
Behav Res Methods
; 46(1): 15-28, 2014 Mar.
Article
en En
| MEDLINE
| ID: mdl-23959766
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 at https//sourceforge.net/projects/jags-wiener/ .
Texto completo:
1
Colección:
01-internacional
Banco de datos:
MEDLINE
Asunto principal:
Programas Informáticos
/
Cadenas de Markov
/
Modelos Estadísticos
/
Teorema de Bayes
/
Modelos Psicológicos
Tipo de estudio:
Health_economic_evaluation
/
Prognostic_studies
/
Risk_factors_studies
Idioma:
En
Revista:
Behav Res Methods
Asunto de la revista:
CIENCIAS DO COMPORTAMENTO
Año:
2014
Tipo del documento:
Article