Skip to content

Materials for the Workshop on Bayesian Semiparametric Distributional Regression in Florence, February 2025

Notifications You must be signed in to change notification settings

liesel-devs/florence-2025

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Bayesian Semiparametric Distributional Regression

Materials for the Workshop on Bayesian Semiparametric Distributional Regression in Florence, February 2025.

Outline

This workshop provides an overview of key statistical modeling approaches, starting with the principles of Bayesian inference, followed by semiparametric regression with structured additive predictors, and concluding with distributional regression models. Topics include methods such as MCMC simulations, spline smoothing, and generalized additive models for location, scale, and shape, with a focus on both theory and application.

Tuesday: Introduction to Bayesian Inference

  • Principles of Bayesian Inference
  • Markov Chain Monte Carlo Simulations
  • Monitoring Mixing and Convergence
  • Posterior Summaries

Wednesday: Semiparametric Regression with Structured Additive Predictors

  • Penalized Spline Smoothing
  • A Generic Basis Function Framework
  • Spatial Smoothing
  • Random Effects Models
  • Hyperpriors for the Smoothing Parameter
  • Interactions and Identification

Thursday: Distributional Regression Models

  • Generalized Additive Models for Location, Scale and Shape
  • Applications with Continuous, Discrete and Multivariate Responses
  • Other Frameworks for Distributional Regression

Prerequisites

  • Please bring a laptop, so that you can actively work on the tutorials.
  • On your laptop, you should have a recent version of R and RStudio installed.
  • Prior programming experience:
    • You will need experience in R for the practicals of Day 1.
    • For the practicals of the Days 2 and 3, wee offer two versions:
    • R version: Relies on the R package bamlss. This package is a great starting point for users familiar with R who want to apply Bayesian Semiparametric Distribtional Regression models.
    • Python version: Relies on the Python library liesel. This library is our own development, and is our method of choice for developing new Bayesian models. Beware that the initial learning curve is higher than for bamlss, and that Liesel offers less convenience functionality out of the box.
  • If you want to work on the Python exercises, we recommend to use Google Colab. Of course, you are free to use your own local Python installation, in which case we recommend the use of Jupyter notebooks. For details, see below.

Schedule

Tuesday, 11 February 2025: Fundamentals of Bayesian Inference

09:00 - 10:30 Lecture 1
10:30 - 11:00 Coffee Break
11:00 - 12:30 Lecture 2

12:30 - 14:00 Lunch Break

14:00 - 15:30 Practicals 1
15:30 - 16:00 Coffee Break
16:00 - 17:00 Practicals 2

Wednesday, 12 February 2025: Semiparametric Regression with Structured Additive Predictors

09:00 - 10:30 Lecture 1
10:30 - 11:00 Coffee Break
11:00 - 12:30 Lecture 2

12:30 - 14:00 Lunch Break

14:00 - 15:30 Practicals 1
15:30 - 16:00 Coffee Break
16:00 - 17:00 Practicals 2

Thursday, 13 February 2025: Distributional Regression Models

09:00 - 10:30 Lecture 1
10:30 - 11:00 Coffee Break
11:00 - 12:30 Lecture 2

12:30 - 14:00 Lunch Break

14:00 - 15:30 Practicals 1
15:30 - 16:00 Coffee Break
16:00 - 17:00 Practicals 2

Getting started with Google Colab

To run Liesel on Google colab, you can install it (and some dependencies) with the following command:

!apt install libgraphviz-dev
!pip install liesel pygraphviz plotnine

Using your own Python installation for Liesel

You can install the latest Liesel release via pip:

pip install liesel

We strongly recommend that you also install pygraphviz, as it is important for plotting Liesel models. Installation for pygraphviz differs by operating system, please refer to the documention: PyGraphviz installation

For general-purpose plotting, we like to use plotnine, which brings ggplot2-like syntax to Python:

pip install plotnine

Support and Collaboration

About

Materials for the Workshop on Bayesian Semiparametric Distributional Regression in Florence, February 2025

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published