GESIS Training Courses

Scientific Coordination

Alisa Remizova

Administrative Coordination

Noemi Hartung

Introduction to Bayesian Statistics

Online via Zoom
General Topics:
Course Level:
Software used:
Students: 275 €
Academics: 413 €
Commercial: 825 €
Additional links
Lecturer(s): Denis Cohen

About the lecturer - Denis Cohen

Course description

Bayesian methods for inference and prediction have become widespread in the social sciences (and beyond). Over the last decades, applied Bayesian modeling has evolved from a niche methodology with high computational and software-specific entry barriers to a readily available toolbox that virtually everyone can use by running pre-implemented packages in standard statistical software on generic PCs. Although Bayesian methods are now more accessible than ever before, aspiring Bayesian practitioners may be overwhelmed by questions and choices - including, but not limited to, when and why to use Bayesian methods in applied research, how to implement and interpret Bayesian analyses, or which software to use.
This workshop is designed to help participants take these first steps. It juxtaposes frequentist and Bayesian approaches to estimation and inference, highlights the distinct characteristics and advantages of Bayesian methods, and introduces participants to the Bayesian workflow and applied modeling using the R package brms - an accessible interface to the probabilistic programming language Stan, which allows users to perform Bayesian inference with state-of-the-art algorithms by running little more than a few lines of code in R.
Organizational structure of the course
This course is organized in eight sessions à 90 minutes, with three sessions on each of the first two workshop days and two sessions on the third.
The first two workshop days combine two 90-minute morning lectures with a 90-minute afternoon lab. A 90-minute lunch break divides morning and afternoon sessions:
  • Lectures will alternate between classical lecturing, interactive Q&A sessions, and regular applied code demonstrations and empirical illustrations.
  • Labs allow participants to work collaboratively on applied problem sets in small groups in Zoom breakout rooms. The problem sets typically comprise a sequence of problems as typically encountered in real-world empirical work. Hints will be provided, and the instructor will be available in the main meeting room to assist with any questions that may arise. Toward the end of the session, we will jointly discuss the solutions to the problem sets.
    The third day features two morning sessions:
  • The first session (120 min) allows participants to apply their newly acquired knowledge in implementing small individual data projects using Bayesian methods. Participants can work on their projects and discuss any ideas and challenges with the instructor.
  • The second session (60 min) will be dedicated to jointly discussing your experiences of implementing your first Bayesian data-analytical project and providing an outlook on how you can move forward and grow as a Bayesian practitioner. We conclude with course evaluations and feedback.

  • Target group

    You will find the course useful if:
    • You have had prior (theoretical) exposure to frequentist statistics and always wondered about the what, why, and how of using Bayesian statistics.
    • You have previously used frequentist statistical models for applied research and now seek to go Bayesian.
    • You want to get a hands-on introduction to applied Bayesian modeling using pre-implemented software packages in R.

    Learning objectives

    By the end of the course, you will:
  • Know fundamental concepts in Bayesian statistics and be able to contrast them with frequentist approaches.
  • Know how to implement the workflow for applied Bayesian statistical modeling using the pre-implemented R package brms.
  • Have freshened up and expanded their understanding of statistical inference and statistical models.

  • Prerequisites

  • Working knowledge of the software environment R: Data import/export; basics of data manipulation; installing and working with packages and package functions.
  • Working knowledge of (generalized) linear models: Fitting models; interpreting model coefficients and confidence intervals; ideally, interpreting quantities of interest like predicted/expected values and average marginal effects.
  • Ideally, you have a small data project that you would like to implement using Bayesian methods.
    Software requirements
    This workshop requires installations of recent versions of R, RStudio, as well as the packages rstan, brms, and marginaleffects. Setting up rstan can be somewhat time-consuming as it requires the installation of a free-of-charge C++ compiler. Before the workshop, participants should follow these instructions on the Stan Development Team's GitHub to install and configure the rstan package and its prerequisites on their operating system. If you do not have administrator privileges on your machine, please approach your system administrator in advance of the workshop.