Gibbs sampler for multiple linear regression 
Project information 
Name  Status  Rev  Size  Updated  Downloads  Brief Description  Actions 

R code & examples 
Stable

  3 items  07/05/2008 17:57 PDT  1555 142  (none) 

bloodpressure.odc 
Stable

1  2.1 KB  07/02/2008 15:50 PDT  104 104  WinBUGS script that does the exact same thing as the 'call_Gibbs.m' script does (uses same data and model). I have included this to demonstrate that the Matlab Gibbs sampler operates identically to Winbugs. Change the priors around a bit to convince yourselves that this is true. 

call_Gibbs.m 
Stable

2  1.4 KB  07/02/2008 15:49 PDT  260 260  This program gives an example of function use: defines data, specifies priors and model parameters, and then calls the function below. 

MLR_Gibbs_func.m 
Stable

2  646 B  07/02/2008 15:50 PDT  366 366  this is the function that carries out MCMC using Gibbs sampler 