Back to /~vavraj/

Credit

Overview

Exercise 1 (26 October)

  • Topic: Bayesian approach when the posterior is known
  • Assignment: Discover the true posterior distribution, construct credible intervals and compare them with approximation via Monte Carlo approach. Full assignment in PDF
  • Deadline: Monday 2 November 9:00

Exercise 2 (9 November)

  • Topic: How to use JAGS (Just Another Gibbs Sampler) for estimating hierarchical models
  • Assignment: Using Gibbs sampling approximate the posterior distribution of model parameters of logistic regression with random intercepts. The intercepts are treated as additional secondary parameters. Full assignment in PDF and Diagram of hierarchical model
  • Data: toenail.txt
  • Deadline: None - solved together during exercise class, but there is Exercise 2.5

Homework (9-23 November)

Exercise 3a (23 November)

  • Topic: Implement and fit LME with random intercept and slope using JAGS.
  • Assignment: Full assignment in PDF
  • Data: aids from library(JM)
  • Deadline: Monday 14 December 9:00

Exercise 3b (23 November)

  • Topic: Implement and fit parametric proportional hazards model (under Weibull assumption) for right-censored time to death using JAGS.
  • Assignment: Full assignment in PDF
  • Data: aggregated aids from library(JM)
  • Deadline: Monday 14 December 9:00

Exercise 3c (30 November)

  • Topic: Implement and fit joint model of LME and parametric proportional hazards model using JAGS.
  • Assignment: Full assignment in PDF
  • Data: aids from library(JM)
  • Deadline: Monday 14 December 9:00

Exercise 3d (14 December)

  • Topic: Joint model with more flexible baseline hazard function using library(JMbayes).
  • Data: aids from library(JM)
  • Deadline: None - solved together during exercise class

Exercise 4 (14 December)

  • Topic: Exam project (Poisson mixture model) + Discussion
  • Assignment: Full assignment in PDF
  • Data: velibCount from library(MBCbook)
  • Deadline: 2 days before exam

Exercise 5a (4 January)

  • Topic: Metropolis-Hastings algorithm for \(\mathsf{AR}(1)\)-\(\mathsf{GARCH}(1,1)\) model.

Exercise 5b (4 January)

  • Topic: Introduction of RStan on \(\mathsf{AR}(1)\)-\(\mathsf{GARCH}(1,1)\) model.