You are here:

A SAS Interface for Bayesian Analysis with WinBUGS

, , ,

SEMAMJ Volume 15, Number 4, ISSN 1070-5511


Bayesian methods are becoming very popular despite some practical difficulties in implementation. To assist in the practical application of Bayesian methods, we show how to implement Bayesian analysis with WinBUGS as part of a standard set of SAS routines. This implementation procedure is first illustrated by fitting a multiple regression model and then a linear growth curve model. A third example is also provided to demonstrate how to iteratively run WinBUGS inside SAS for Monte Carlo simulation studies. The SAS codes used in this study are easily extended to accommodate many other models with only slight modification. This interface can be of practical benefit in many aspects of Bayesian methods because it allows the SAS users to benefit from the implementation of Bayesian estimation and it also allows the WinBUGS user to benefit from the data processing routines available in SAS. (Contains 3 figures and 3 tables.)


Zhang, Z., McArdle, J.J., Wang, L. & Hamagami, F. (2008). A SAS Interface for Bayesian Analysis with WinBUGS. Structural Equation Modeling: A Multidisciplinary Journal, 15(4), 705-728. Retrieved October 22, 2019 from .

This record was imported from ERIC on April 18, 2013. [Original Record]

ERIC is sponsored by the Institute of Education Sciences (IES) of the U.S. Department of Education.

Copyright for this record is held by the content creator. For more details see ERIC's copyright policy.