Stat 532 Name: in Class Final 12/12/2016
Stat 532 Name: in Class Final 12/12/2016
In class final
12/12/2016
1. (8 points) Sketch out the Metropolis-Hastings algorithm including the acceptance rate.
3. Assume you are asked to fit a Poisson regression model for y as a function of x1 , x2 , and the
intercept.
(a) (5 points) Write out the model, including link functions and all necessary priors.
(b) (3 points) Assume you plan to fit the model using a Metropolis-Hastings algorithm, ex-
plain your choice of the proposal distribution.
(c) (3 points) How will you make inferences about the parameters in the model?
(d) (3 points) How will you make predictions for a future set of X ∗ = [x1 , x2 ].
Stat 532 In class final - Page 3 of 4 12/12/2016
6. (4 points) Given a dataset, how do you verify that your assumed model and prior are reason-
able?
Stat 532 In class final - Page 4 of 4 12/12/2016
7. (4 points) Describe the similarities and differences between Bayesian regression and ridge re-
gression.
8. (4 points) Why do we track the acceptance rate in a Metropolis-Hastings algorithm and how
does it relate to effective mixing for posterior samples?