|
Welcome to our course web site for RECO 777 "Bayesian Data Analysis".
Administrative Stuff
Matlab Links
- Tutorials
for Matlab and Matrix Algebra, plus Matlab related web links
Lecture Material
- Principles of Bayesian Analysis / Normal linear regression with
conjugate priors
- Normal linear regression with independent priors / Gibbs Sampler /
Sampler Diagnostics
- Lecture Notes
- Matlab scripts and functions
-
normal_Bayes_independent (script to estimate normal
regression model via Bayes with independent priors)
- gs_normal_independent
(function with Gibbs Sampler to go with the above
script)
- inverse_gamma_plots
(script to examine the properties of the ig density)
- klausdiagnostics
(function with diagnostic tools for MCMC samplers)
- wage_example
(script using the normal linear regression with
independent priors to estimate Mroz's (1987) wage data)
- wage data (Excel
format - see Matlab tutorial for loading instructions)
- wage_example2
(same script as wage example, except splitting betas into 2 blocks to show
effect on Gibbs Sampler efficiency)
- gs_normal_independent2
(GS to go with wage_example2);
- cholcov (utility
function to avoid errors due to Matlab's overly stringent symmetry check for
matrices - place in your "functions" folder)
- Importance Sampling, Accept-Reject Sampling
- Lecture Notes
- Matlab scripts and functions
- IS1 (main script to
illustrate importance sampling, based on KPT Ex. 11.4)
- AR1 (main script to
illustrate Accept-reject sampling)
- trnd_klaus
(function to draw from the univariate t-density)
- tpdf_klaus
(function to evaluate the univariate t-density)
- Posterior Predictive Densities, Posterior Predictive P-values
- SUR Model, Highest Posterior Density Intervals
- Lecture notes
- Matlab scripts and functions
- sur_data
(script to generate simulated data for the SUR model)
- sur
(main script to
illustrate SUR model)
- hdpi (script to
illustrate HPDIs)
- gs_sur (function;
Gibbs Sampler for the SUR model)
- var_vec
(utility function - turns a symmetric matrix into a vector
with unique elements)
- vec_var (reverses
above process)
- klaus_hpdi
(function; estimates HPDI bounds for unimodal densities)
- outage (data set for
outage cost example, Excel format)
- sur_outage (SUR
script for outage example)
- hpdi_outage (hpdi
script for outage example)
- Model Comparison: Savage-Dickey, Gelfand-Dey, and the Chib Method of
Computing the Marginal Likelihood
- Lecture Notes
- Matlab scripts and functions
- sddr (script illustrating the SDDR method using simulated
SUR data)
- sddr_outage (same script using outage data)
- sur_chib
(script to start Chib's method to compute the mLH for the SUR
model)
- gs_sur_chib
(function executing Chib's method for the SUR model)
- iwishpdf (utility
function, evaluates the ordinate of the IW density)
- Hierarchical Normal Regression Model, Data Augmentation
- Lecture Notes
- Matlab scripts and functions
- HNRM_data
(simulated data for the hierarchical normal regression model)
- HNRM_v1 (main script
for the fully augmented hierarchical normal regression
model)
- gs_HNRM_v1 (Gibbs
Sampler for the fully augmented hierarchical normal
regression model)
- HNRM_v2 (main script
for the partially augmented hierarchical normal regression model)
- gs_HNRM (Gibbs
Sampler for the partially augmented hierarchical
normal regression model)
- HNRM_chib (starter
script for the Chib method for the partially augmented HNRM)
- gs_HNRM_chib (Gibbs
Sampler implementing the Chib method for the partially augmented HNRM)
- outage_50firms
(re-configured outage data, excel format)
- HNRM_outage (application
of the HNRM using outage data)
- HNRM_outage_chib
(starter script for the Chib method using outage data)
- HNRM_outage_nocovs (script
for HNRM outage model without covariances)
- gs_HNRM_nocovs
(GS to go with that script)
- HNRM_outage_nocovs_chib
(starter script for no-cov. model, Chib method)
- gs_HNRM_nocovs_chib
(GS to implement Chib method)
- HNRM_outage_singleRE
(script for HNRM outage model with single random effect)
-
HNRM_outage_singleRE_chib (starter script for single-RE
model, Chib method)
- HNRM_predict
(script generating posterior predictive densities for the
HNRM model using outage data)
- HNRM_naive (HNRM
ignoring random effects - essentially a basic normal regression model)
- HNRM_naive_predict
(prediction script for the naive model)
-
Nonlinear regression model / Metropolis-Hastings
algorithm
-
Working with latent Dependent Variables: The Probit
and Tobit Models
-
Efficiency gains through re-parameterization: The
Ordered Probit Model
Problem Sets
- PS 1 (due Sept. 10, 2008)
- PS 2 (due Sept. 29, 2008)
- PS3 (due Oct.20, 2008)
- PS4 (due Nov.12, 2008)
- PS5 (due Dec.8,2008)
|