Skip to content

Introduction to Bayesian Data Analysis using R - Online

  • Level(s) of Study: Short course; Professional
  • Course Fee:

    £480

  • Start Date(s): Tuesday 10 June 2025
  • Duration: Three days (Tuesday, Wednesday and Thursday) 9.30 am - 5.30 pm
  • Study Mode(s): Part-time
  • Entry Requirements: More information

Introduction:

Bayesian methods are becoming an increasingly popular approach to data analysis across a wide range of research fields. They offer a flexible and structured framework for statistical inference, differing fundamentally from traditional (frequentist) methods. However, many researchers have limited opportunities to learn the core principles of Bayesian inference, making it challenging to apply these techniques effectively.

This three-day practical online course introduces the core principles of Bayesian inference and how to apply them using R. By the end of the course you will:

  • Understand how Bayesian statistics differs from classical methods and why this matters.
  • Learn to build, interpret, and assess Bayesian models in R using the brms package.
  • Apply Bayesian regression techniques to real-world data, including GLMs and multilevel models.
  • Use Markov Chain Monte Carlo (MCMC) methods to estimate complex models.

What you’ll study

By the end of the course, you will have a solid foundation in Bayesian analysis, giving you the confidence to apply these methods effectively in research and professional settings.

What is Bayesian Data Analysis? We begin by exploring the essence of Bayesian inference and how it fits into the broader landscape of statistical approaches. Rather than treating Bayesian methods as a niche tool, we will discuss how they offer a distinct general perspective on all statistical inference that can complement, rather than exclude, classical methods.

Bayes’ Rule in Action -  Bayes’ rule provides the mathematical foundation for all Bayesian inference. We will start with simple, intuitive examples to see how prior information is updated by observed data to yield a posterior distribution. Understanding these basics lays the groundwork for more complex models.

A Simple Bayesian Model - We will work through a classic inference problem—estimating the bias of a coin (or similar binary outcome) to illustrate major concepts such as the likelihood function, the prior, and the posterior distribution.

Markov Chain Monte Carlo (MCMC) Methods– While simple Bayesian models can sometimes be solved analytically, most real-world problems require numerical methods. We will introduce MCMC and demonstrate how the brms package in R uses Stan to fit a wide variety of Bayesian models. By replicating earlier analyses with MCMC, we’ll see how these methods generalise to more complex settings.

Bayesian Linear Models– We next compare Bayesian linear regression using brm to classical regression with lm. By examining similarities and differences, participants will gain insight into how Bayesian estimation, inference, and model comparison can enrich their analysis. We will also explore categorical predictors and move toward varying intercept and slope models as a bridge to more complex structures.

Bayesian Model Evaluation and Comparison– We next consider how to evaluate and compare Bayesian models, particularly by using posterior predictive checks and using fast and efficient cross-validation. These methods allow us to evaluate whether any given Bayesian model matches the observed data, and to compare competing statistical models or hypotheses.

Extending the Linear Model– Bayesian methods make it straightforward to relax standard assumptions. For instance, we can use t-distributions to handle outliers more robustly or model residual variance as a function of predictor variables. We will see how these flexible extensions can improve the fit and interpretability of our models.

Bayesian Generalised Linear Models (GLMs)– We then move to GLMs, including logistic (binary, ordinal, multinomial), Poisson, negative binomial, and zero-inflated models. Using real data examples, we will show how Bayesian methods can handle a wide range of distributions and link functions, making it easier to choose models that align with the data’s structure and research goals.

Bayesian Multilevel and Mixed Effects Models– Finally, we explore multilevel (hierarchical) and mixed effects models in a Bayesian context. We will see how to model nested and crossed data structures, incorporate group-level predictors, and handle complex correlation patterns. Bayesian methods often simplify fitting these models and can help avoid some of the convergence issues that can arise in a classical framework.

How you’re taught

This course is designed to be highly interactive, combining:

  • Live online sessions via Zoom.
  • Hands-on coding workshops with real-world datasets.
  • Expert-led discussions to deepen your statistical reasoning.
  • Downloadable resources including code, datasets, and exercises.

Contact hours

6 hours per day, plus two 1-hour breaks.

Session 1: 9:30 am - 11:30 am
Session 2: 12:30 pm - 2:30 pm
Session 3: 3:30 pm - 5:30 pm

'
'

Tutor Profile: Mark Andrews

Mark Andrews is an Associate Professor at Nottingham Trent University whose research and teaching is focused on statistical methodology in research in the social and biological sciences. He is the author of 2021 textbook on data science using R that is aimed at scientific researchers and has a forthcoming new textbook on statistics and data science that is aimed at undergraduates in science courses. His background is in computational cognitive science and mathematical psychology.

Staff Profiles

Mark Andrews - Associate Professor

School of Social Sciences

Mark Andrews

Careers and employability

Certificate of attendance and digital badge

Upon successful completion of the course, you will receive a digital certificate of attendance and a digital badge powered by Accredible.

Your digital credential is more than just a certificate – it’s secure, verifiable, and protected against fraud through encryption and blockchain technology.

They also come with detailed metadata, including an overview of the skills you have achieved on the course, evidence of completion, and assessment criteria if appropriate.

Share your achievements seamlessly with friends, customers, and potential employers online, and proudly add your badge or certificate to social media platforms such as LinkedIn, so all the right people can see it.

Entry requirements

This course is suitable for researchers, analysts, and data professionals working with statistical models. It is particularly relevant for:

  • PhD students and early-career researchers looking to strengthen their statistical skills.
  • Academics and applied researchers needing Bayesian methods for complex data analysis.
  • Data analysts and statisticians aiming to enhance their modelling expertise.
  • Industry professionals transitioning into data science roles.

Prerequisites:

Fees and funding

The fee for this course is £480

Payment is due at the time of booking - ask us if you'd prefer an invoice sent to your company.

All required software is free and open source. Detailed installation instructions will be provided before the course.

You can read the terms and conditions of booking here.

How to apply

Book Now for 10 – 12 June 2025

Any questions?

Contact the short course team:

Email: SOCCommercial@ntu.ac.uk

Tel: +44 (0)115 848 4083