EconPapers    
Economics at your fingertips  
 

Introducing the StataStan interface for fast, complex Bayesian modeling using Stan

Robert L. Grant (), Bob Carpenter, Daniel C. Furr and Andrew Gelman
Additional contact information
Robert L. Grant: BayesCamp
Bob Carpenter: Columbia University
Daniel C. Furr: University of California at Berkeley
Andrew Gelman: Columbia University

Stata Journal, 2017, vol. 17, issue 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. Copyright 2017 by StataCorp LP.

Keywords: stan; windowsmonitor; StataStan; Bayesian; bayesmh; interface; shell commands; Stan (search for similar items in EconPapers)
Date: 2017
References: Add references at CitEc
Citations:

Downloads: (external link)
http://www.stata-journal.com/article.html?article=st0476 link to article purchase
http://www.stata-journal.com/software/sj17-2/st0476/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:tsj:stataj:v:17:y:2017:i:2:p:330-342

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins

More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().

 
Page updated 2025-03-20
Handle: RePEc:tsj:stataj:v:17:y:2017:i:2:p:330-342