EconPapers    
Economics at your fingertips  
 

Fitting Bayesian item response models in Stata and Stan

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

Stata Journal, 2017, vol. 17, issue 2, 343-357

Abstract: Stata users have access to two easy-to-use implementations of Bayesian inference: Stata’s native bayesmh command and StataStan, which calls the general Bayesian engine, Stan. We compare these implementations on two important models for education research: the Rasch model and the hierarchical Rasch model. StataStan fits a more general range of models than can be fit by bayesmh and uses a superior sampling algorithm, that is, Hamiltonian Monte Carlo using the no-U- turn sampler. Furthermore, StataStan can run in parallel on multiple CPU cores, regardless of the flavor of Stata. Given these advantages and given that Stan is open source and can be run directly from Stata do-files, we recommend that Stata users interested in Bayesian methods consider using StataStan. Copyright 2017 by StataCorp LP.

Keywords: stan; windowsmonitor; StataStan; bayesmh; Bayesian (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=st0477 link to article purchase
http://www.stata-journal.com/software/sj17-2/st0477/ (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:343-357

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:343-357