R2WinBUGS: A package for running WinBUGS from R

被引:1203
作者
Sturtz, S [1 ]
Ligges, U
Gelman, A
机构
[1] Univ Dortmund, Fachbereich Stat, D-44221 Dortmund, Germany
[2] Columbia Univ, Dept Stat, New York, NY 10027 USA
来源
JOURNAL OF STATISTICAL SOFTWARE | 2005年 / 12卷 / 03期
关键词
R; WinBUGS; interface; MCMC;
D O I
10.18637/jss.v012.i03
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
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.
引用
收藏
页码:1 / 16
页数:16
相关论文
共 26 条
[1]  
BECKER BA, 1984, INTERACTIVE ENV DATA
[2]  
Becker RA, 1998, WADSWORTH BROOKSCOLE
[3]   Ecological regression analysis of environmental benzene exposure and childhood leukaemia: sensitivity to data inaccuracies, geographical scale and ecological bias [J].
Best, N ;
Cockings, S ;
Bennett, J ;
Wakefield, J ;
Elliott, P .
JOURNAL OF THE ROYAL STATISTICAL SOCIETY SERIES A-STATISTICS IN SOCIETY, 2001, 164 :155-174
[4]   Spatial Poisson regression for health and exposure data measured at disparate resolutions [J].
Best, NG ;
Ickstadt, K ;
Wolpert, RL .
JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 2000, 95 (452) :1076-1088
[5]   General methods for monitoring convergence of iterative simulations [J].
Brooks, SP ;
Gelman, A .
JOURNAL OF COMPUTATIONAL AND GRAPHICAL STATISTICS, 1998, 7 (04) :434-455
[6]  
Buckingham C., 1997, LONDON ATMOSPHERIC E
[7]   EXPLAINING THE GIBBS SAMPLER [J].
CASELLA, G ;
GEORGE, EI .
AMERICAN STATISTICIAN, 1992, 46 (03) :167-174
[8]  
Chambers J.M., 1998, PROGRAMMING DATA GUI
[9]  
Chambers J.M., 1991, Statistical Models in S
[10]   SAMPLING-BASED APPROACHES TO CALCULATING MARGINAL DENSITIES [J].
GELFAND, AE ;
SMITH, AFM .
JOURNAL OF THE AMERICAN STATISTICAL ASSOCIATION, 1990, 85 (410) :398-409