Introducing the StataStan Interface for Fast, Complex Bayesian Modeling Using Stan
Authors:
- 1 June 2017
- journal article
- research article
- Published by SAGE Publications in The Stata Journal: Promoting communications on statistics and Stata
- Vol. 17 (2) , 330-342
Abstract
In this article, we present StataStan, an interface that allows simulation-based Bayesian inference in Stata via calls to Stan, the flexible, open-source Bayesian inference engine. Stan is written in C++, and Stata users can use the commands stan and windowsmonitor to run Stan programs from within Stata. We provide a brief overview of Bayesian algorithms, details of the commands available from Statistical Software Components, considerations for users who are new to Stan, and a simple example. Stan uses a different algorithm than bayesmh, BUGS, JAGS, SAS, and MLwiN. This algorithm provides considerable improvements in efficiency and speed. In a companion article, we give an extended comparison of StataStan and bayesmh in the context of item response theory models.Keywords
This publication has 4 references indexed in Scilit:
- Fitting Bayesian item response models in Stata and StanThe Stata Journal: Promoting communications on statistics and Stata, 2017
- Bayesian Data Analysis2013
- MCMC Using Hamiltonian Dynamics2011
- Riemann Manifold Langevin and Hamiltonian Monte Carlo MethodsJournal of the Royal Statistical Society Series B: Statistical Methodology, 2011