The goal of JAGS (Just Another Gibbs Sampler) software is to remedy the short of BUGS software that unable to running on a system besides Microsoft Windows, such as Unix or Linux. JAGS owns independent computing function and formula of Bayesian theory; it is mischaracterized with simple user interface, good system compatibility, smoother operation, and good interactivity with other programming software. However, due to the limitations of lacking function for results data reading and unscrambling and graph plotting, the popularization and application of JAGS software is restricted. Calling JAGS software from R software through R2jags package, rjags package, or runjags package can overcome these limitations. The operating principle of these three packages is calling JAGS software in the framework of the R software, they have similar functional structure and all have easy maneuverability, concise command, perfect function of data reading and unscrambling and graph drawing; however, there are some differences among them in practice. This article introduces how to performing network meta-analysis by calling JAGS software from R through these three packages.
Citation:
ZHANGChao, SUNFeng, ZENGXian-tao. Calling JAGS Software from R Software for Performing Network Meta-Analysis. Chinese Journal of Evidence-Based Medicine, 2014, 14(2): 241-248. doi: 10.7507/1672-2531.20140042
Copy
Copyright © the editorial department of Chinese Journal of Evidence-Based Medicine of West China Medical Publisher. All rights reserved
1. |
Plummer M. JAGS:A program for analysis of Bayesian graphical models using Gibbs sampling Proceedings of the 3rd International Workshop on Distributed Statistical Computing(DSC 2003). March, 2003:20-22.
|
2. |
曾宪涛, 曹世义, 孙凤, 等. Meta分析系列之六:间接比较及网状Meta分析.中国循证心血管医学杂志, 2012, 4(5):399-402.
|
3. |
曾宪涛, 田国祥, 张超, 等. Meta分析系列之十五:Meta分析的进展与思考.中国循证心血管医学杂志, 2013, 5(6):561-563.
|
4. |
Jonas DE, Wilkins TM, Bangdiwala S, et al. Findings of Bayesian Mixed Treatment Comparison Meta-Analyses:Comparison and Exploration Using Real-World Trial Data and Simulation[Internet]. Rockville(MD):Agency for Healthcare Research and Quality(US); 2013 Feb. Appendix A, WinBUGS Code Used in Bayesian Mixed Treatment Comparisons Meta-Analysis. Available from: http://www.ncbi.nlm.nih.gov/books/NBK126104/.
|
5. |
曾宪涛, 张超, 郭毅. R软件R2WinBUGS程序包在网状Meta分析中的应用.中国循证医学杂志, 2013, 13(9):1137-1144.
|
6. |
张超, 董圣杰, 曾宪涛. R软件gemtc程序包在网状Meta分析中的应用.中国循证医学杂志, 2013, 13(10):1258-1264.
|
7. |
罗杰, 张超, 曾宪涛. R软件调用OpenBUGS软件实现网状Meta分析.中国循证医学杂志, 2014, 出版中.
|
8. |
Lunn D, Spiegelhalter D, Thomas A, et al. The BUGS project:Evolution, critique and future directions. Stat Med, 2009, 28(25):3049-3067.
|
- 1. Plummer M. JAGS:A program for analysis of Bayesian graphical models using Gibbs sampling Proceedings of the 3rd International Workshop on Distributed Statistical Computing(DSC 2003). March, 2003:20-22.
- 2. 曾宪涛, 曹世义, 孙凤, 等. Meta分析系列之六:间接比较及网状Meta分析.中国循证心血管医学杂志, 2012, 4(5):399-402.
- 3. 曾宪涛, 田国祥, 张超, 等. Meta分析系列之十五:Meta分析的进展与思考.中国循证心血管医学杂志, 2013, 5(6):561-563.
- 4. Jonas DE, Wilkins TM, Bangdiwala S, et al. Findings of Bayesian Mixed Treatment Comparison Meta-Analyses:Comparison and Exploration Using Real-World Trial Data and Simulation[Internet]. Rockville(MD):Agency for Healthcare Research and Quality(US); 2013 Feb. Appendix A, WinBUGS Code Used in Bayesian Mixed Treatment Comparisons Meta-Analysis. Available from: http://www.ncbi.nlm.nih.gov/books/NBK126104/.
- 5. 曾宪涛, 张超, 郭毅. R软件R2WinBUGS程序包在网状Meta分析中的应用.中国循证医学杂志, 2013, 13(9):1137-1144.
- 6. 张超, 董圣杰, 曾宪涛. R软件gemtc程序包在网状Meta分析中的应用.中国循证医学杂志, 2013, 13(10):1258-1264.
- 7. 罗杰, 张超, 曾宪涛. R软件调用OpenBUGS软件实现网状Meta分析.中国循证医学杂志, 2014, 出版中.
- 8. Lunn D, Spiegelhalter D, Thomas A, et al. The BUGS project:Evolution, critique and future directions. Stat Med, 2009, 28(25):3049-3067.