Published by the Foundation for Open Access Statistics Editors-in-chief: Bettina Grün, Torsten Hothorn, Rebecca Killick, Edzer Pebesma, Achim Zeileis    ISSN 1548-7660; CODEN JSSOBK
Authors: Michael K. Smith
Title: WinBUGSio: A SAS Macro for the Remote Execution of WinBUGS
Abstract: This is a macro which facilitates remote execution of WinBUGS from within SAS. The macro pre-processes data for WinBUGS, writes the WinBUGS batch-script, executes this script and reads in output statistics from the WinBUGS log-file back into SAS native format. The user specifies the input and output file names and directory path as well as the statistics to be monitored in WinBUGS. The code works best for a model that has already been set up and checked for convergence diagnostics within WinBUGS. An obvious extension of the use of this macro is for running simulations where the input and output files all have the same name but all that differs between simulation iterations is the input dataset. The functionality and syntax of the macro call are described in this paper and illustrated using a simple linear regression model.

Page views:: 6866. Submitted: 2005-12-16. Published: 2007-12-31.
Paper: WinBUGSio: A SAS Macro for the Remote Execution of WinBUGS     Download PDF (Downloads: 6895)
Supplements: SAS source code Download (Downloads: 1375; 15KB) Scripts and data for line example Download (Downloads: 1183; 1KB)

DOI: 10.18637/jss.v023.i09

This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.