IDEAS home Printed from https://ideas.repec.org/a/jss/jstsof/v012i03.html
   My bibliography  Save this article

R2WinBUGS: A Package for Running WinBUGS from R

Author

Listed:
  • Sturtz, Sibylle
  • Ligges, Uwe
  • Gelman, Andrew

Abstract

The R2WinBUGS package provides convenient functions to call WinBUGS from R. It automatically writes the data and scripts in a format readable by WinBUGS for processing in batch mode, which is possible since version 1.4. After the WinBUGS process has finished, it is possible either to read the resulting data into R by the package itself--which gives a compact graphical summary of inference and convergence diagnostics--or to use the facilities of the coda package for further analyses of the output. Examples are given to demonstrate the usage of this package.

Suggested Citation

  • Sturtz, Sibylle & Ligges, Uwe & Gelman, Andrew, 2005. "R2WinBUGS: A Package for Running WinBUGS from R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 12(i03).
  • Handle: RePEc:jss:jstsof:v:012:i03 DOI: http://hdl.handle.net/10.18637/jss.v012.i03
    as

    Download full text from publisher

    File URL: https://www.jstatsoft.org/index.php/jss/article/view/v012i03/v12i03.pdf
    Download Restriction: no

    References listed on IDEAS

    as
    1. Nicky Best & Samantha Cockings & James Bennett & Jon Wakefield & Paul Elliott, 2001. "Ecological regression analysis of environmental benzene exposure and childhood leukaemia: sensitivity to data inaccuracies, geographical scale and ecological bias," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 164(1), pages 155-174.
    2. David J. Spiegelhalter & Nicola G. Best & Bradley P. Carlin & Angelika van der Linde, 2002. "Bayesian measures of model complexity and fit," Journal of the Royal Statistical Society Series B, Royal Statistical Society, vol. 64(4), pages 583-639.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. repec:eee:ecomod:v:289:y:2014:i:c:p:86-95 is not listed on IDEAS
    2. Yong Li & Zhongxin Ni & Jie Zhang, 2011. "An Efficient Stochastic Simulation Algorithm for Bayesian Unit Root Testing in Stochastic Volatility Models," Computational Economics, Springer;Society for Computational Economics, vol. 37(3), pages 237-248, March.
    3. T. Loeys & Y. Rosseel & K. Baten, 2011. "A Joint Modeling Approach for Reaction Time and Accuracy in Psycholinguistic Experiments," Psychometrika, Springer;The Psychometric Society, pages 487-503.
    4. Feng Gao & J. Miller & Chengjie Xiong & Julia Beiser & Mae Gordon, 2011. "A joint-modeling approach to assess the impact of biomarker variability on the risk of developing clinical outcome," Statistical Methods & Applications, Springer;Società Italiana di Statistica, pages 83-100.
    5. repec:eee:ecomod:v:206:y:2007:i:3:p:431-438 is not listed on IDEAS
    6. Ghosh, Pulak & Albert, Paul S., 2009. "A Bayesian analysis for longitudinal semicontinuous data with an application to an acupuncture clinical trial," Computational Statistics & Data Analysis, Elsevier, pages 699-706.
    7. Juha Karvanen & Ari Rantanen & Lasse Luoma, 2014. "Survey data and Bayesian analysis: a cost-efficient way to estimate customer equity," Quantitative Marketing and Economics (QME), Springer, vol. 12(3), pages 305-329, September.
    8. Yu, Jun, 2012. "A semiparametric stochastic volatility model," Journal of Econometrics, Elsevier, vol. 167(2), pages 473-482.
    9. repec:eee:ecomod:v:253:y:2013:i:c:p:17-27 is not listed on IDEAS
    10. Juha Karvanen & Ari Rantanen & Lasse Luoma, 2013. "Survey data and Bayesian analysis: a cost-efficient way to estimate customer equity," Papers 1304.5380, arXiv.org, revised May 2014.
    11. repec:exl:29stat:v:17:y:2016:i:3:p:365-390 is not listed on IDEAS
    12. Overstall, Antony M. & Forster, Jonathan J., 2010. "Default Bayesian model determination methods for generalised linear mixed models," Computational Statistics & Data Analysis, Elsevier, pages 3269-3288.
    13. repec:eee:ecomod:v:360:y:2017:i:c:p:252-259 is not listed on IDEAS
    14. Kramer, Michael R. & Cooper, Hannah L. & Drews-Botsch, Carolyn D. & Waller, Lance A. & Hogue, Carol R., 2010. "Metropolitan isolation segregation and Black-White disparities in very preterm birth: A test of mediating pathways and variance explained," Social Science & Medicine, Elsevier, pages 2108-2116.
    15. Federico ANDREIS & Pier Alda FERRARI, 2015. "Customer Satisfaction Evaluation Using Multidimensional Item Response Theory Models," Departmental Working Papers 2015-25, Department of Economics, Management and Quantitative Methods at Università degli Studi di Milano.
    16. repec:kap:jrefec:v:55:y:2017:i:4:d:10.1007_s11146-017-9632-1 is not listed on IDEAS
    17. Alina Jędrzejczak & Jan Kubacki, 2016. "Small Area Estimation of Income Under Spatial Sar Model," Statistics in Transition new series, Główny Urząd Statystyczny (Polska), vol. 17(3), pages 365-390, September.
    18. Guy Abel & Jakub Bijak & Jonathan J. Forster & James Raymer & Peter W.F. Smith & Jackie S.T. Wong, 2013. "Integrating uncertainty in time series population forecasts: An illustration using a simple projection model," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 29(43), pages 1187-1226, December.
    19. Yong Li & Jun Yu, 2010. "A New Bayesian Unit Root Test in Stochastic Volatility Models," Working Papers 21-2010, Singapore Management University, School of Economics, revised Oct 2010.
    20. Greves Grow, H. Mollie & Cook, Andrea J. & Arterburn, David E. & Saelens, Brian E. & Drewnowski, Adam & Lozano, Paula, 2010. "Child obesity associated with social disadvantage of children's neighborhoods," Social Science & Medicine, Elsevier, pages 584-591.
    21. Jan Kubacki, 2012. "Estimation of parameters for small areas using hierarchical Bayes method in the case of known model hyperparameters," Statistics in Transition new series, Główny Urząd Statystyczny (Polska), vol. 13(2), pages 261-278, June.
    22. repec:eee:ecomod:v:273:y:2014:i:c:p:236-241 is not listed on IDEAS
    23. repec:eee:ecomod:v:242:y:2012:i:c:p:1-9 is not listed on IDEAS
    24. Horrocks, Julie & Rueffer, Matthew, 2014. "A Bayesian approach to estimating animal density from binary acoustic transects," Computational Statistics & Data Analysis, Elsevier, pages 17-25.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:jss:jstsof:v:012:i03. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F. Baum). General contact details of provider: http://www.jstatsoft.org/ .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.