3
Loading Events
Home Online Courses Bayesian Multilevel Modelling using brms for Ecologists (COURSE FULL) (BMME01)
BMME01

Bayesian Multilevel Modelling using brms for Ecologists (COURSE FULL)

Master Bayesian multilevel models in R with brms. Learn GLMs, priors, spatial/temporal autocorrelation, and species distribution modelling.

  • Duration: 10 Days, 4 hours per day
  • Next Date: October 20-24 & 27-31, 2025
  • Format: Live Online Format
TIME ZONE

UK (GMT+1) local time - All sessions will be recorded and made available to ensure accessibility for attendees across different time zones.

£450Registration Fee

Register Now

Like what you see? Click and share!

5.0

from 200+ reviews

Course Description

This 10-day course introduces ecologists to the theory and practice of Bayesian multilevel modelling using the brms package in R. Starting with a foundation in Bayesian inference and MCMC, the course builds progressively through linear and generalised linear models, multilevel structures, and complex hierarchical models tailored to ecological data. Participants will learn to model non-Gaussian responses (e.g. counts, proportions), account for spatial and temporal autocorrelation, incorporate priors, and fit multivariate and joint species distribution models. Emphasis is placed on interpretation, visualisation, model criticism, and ecological application throughout. By the end of the course, participants will be able to confidently implement and interpret flexible Bayesian models using brms, communicate uncertainty clearly, and apply these tools to real-world ecological research.

What You’ll Learn

During the course will cover the following:

  • Understand the foundations of Bayesian inference, including priors, posteriors, and credible intervals.
  • Fit and interpret generalised linear models (GLMs) and multilevel models using the brms package.
  • Specify and evaluate meaningful priors for ecological parameters.
  • Diagnose model fit using posterior predictive checks, residuals, and cross-validation (e.g. WAIC) .
  • Model count and binary data with appropriate likelihoods, including overdispersion and zero-inflation.
  • Incorporate spatial and temporal autocorrelation into hierarchical models.
  • Build multivariate and joint species distribution models for community-level inference.
  • Communicate uncertainty and model results effectively using visualisation and reporting best practices.

Course Format

Interactive Learning Format

Each day features a well-balanced combination of lectures and hands-on practical exercises, with dedicated time for discussing participants’ own data, time permitting.

Global Accessibility

All live sessions are recorded and made available on the same day, ensuring accessibility for participants across different time zones.

Collaborative Discussions

Open discussion sessions provide an opportunity for participants to explore specific research questions and engage with instructors and peers.

Comprehensive Course Materials

All code, datasets, and presentation slides used during the course will be shared with participants by the instructor.

Personalized Data Engagement

Participants are encouraged to bring their own data for discussion and practical application during the course.

Post-Course Support

Participants will receive continued support via email for 30 days following the course, along with on-demand access to session recordings for the same period.

Who Should Attend / Intended Audiences

This course is designed for ecologists, data analysts, postgraduate students, and early-career researchers who have a basic background in using R and RStudio, including tasks such as importing data and running simple functions. Participants are expected to have an understanding of fundamental statistical concepts such as mean, variance, correlation, and linear regression. While prior experience with generalised linear models is helpful, it is not essential, as key concepts will be reviewed during the course. Additional experience with data wrangling tools like dplyr or tidyr, basic plotting using ggplot2, and interpreting model output is not required but would be beneficial.

Equipment and Software requirements

A laptop or desktop computer with a functioning installation of R and RStudio is required. Both R and RStudio are free, open-source programs compatible with Windows, macOS, and Linux systems.

A working webcam is recommended to support interactive elements of the course. We encourage participants to keep their cameras on during live Zoom sessions to foster a more engaging and collaborative environment.

While not essential, using a large monitor—or ideally a dual-monitor setup—can significantly enhance your learning experience by allowing you to view course materials and work in R simultaneously.

 

All necessary R packages will be introduced and installed during the workshop. A comprehensive list of required packages will also be shared with participants ahead of the course to allow for optional pre-installation.

Download R Download RStudio Download Zoom

Dr. Niamh Mimnagh

Dr. Niamh Mimnagh

Niamh is a statistician working at the interface of ecology, epidemiology, and data science. Her research focuses on applying and developing statistical and machine learning methods to address real-world challenges such as estimating species population sizes from count and trace data and predicting livestock disease re-emergence using sparse or imbalanced datasets. She works with a wide array of statistical approaches, including Bayesian hierarchical models, N-mixture models, anomaly detection algorithms, and spatial analysis techniques.

 

Niamh earned her PhD in Statistics, with a focus on multispecies abundance modelling, and holds a first-class MSc in Data Science. Alongside her research, she is actively engaged in science communication and education, running a popular blog on applied statistics for non-specialists, and regularly delivering workshops and guest lectures on topics such as GLMs and machine learning with imbalanced data.

 

Education & Career

  • PhD in Statistics (Multispecies Abundance Modelling)
  • MSc in Data Science (First Class Honours)
  • Instructor, consultant, and science communicator in statistical ecology and epidemiology

 

Research Focus

Niamh’s work centres on extracting meaningful insights from complex ecological and epidemiological data. She is particularly interested in population estimation techniques and predictive modelling for conservation and disease management, using advanced statistical tools and reproducible workflows.

 

Current Projects

  • Development of Bayesian and ML approaches for estimating species abundance from imperfect data
  • Modelling livestock disease risk using spatial and temporal predictors
  • Creating accessible educational materials for teaching applied statistics in R

 

Professional Consultancy

Niamh provides expert statistical support to academic and applied research projects, with a focus on ecological monitoring, conservation planning, and disease modelling. She also advises on study design and data workflows for interdisciplinary teams.

 

Teaching & Skills

  • Teaches topics including GLMs, Bayesian statistics, machine learning for imbalanced data, and spatial statistics in R
  • Advocates for reproducibility, open science, and accessible statistical training
  • Experienced in communicating complex methods to broad audiences

 

Links

 

Principles and Practice of Bayesian Inference for Ecological Data

Session 1- 01:15:00 – What Is Bayesian Statistics?
Introduction to Bayesian vs. frequentist probability; Bayes’ theorem and its components (prior, likelihood, posterior), the role of belief updating and uncertainty quantification in ecological modelling.

Session 2 – 01:15:00 – Priors, Posteriors, and Credible Intervals
Understanding different types of priors, posterior distributions and credible intervals; interpreting Bayesian results with ecological examples.

Session 3 – 01:15:00 – MCMC and the Bayesian Modelling Workflow
Introduction to MCMC algorithms, convergence diagnostics (traceplots, R-hat), overview of the Bayesian modelling cycle and iterative workflow.

Understanding, Fitting, and Evaluating Random Intercept Models

Session 4 – 01:15:00 – Introduction to brms
Overview of the brms package; Stan as backend; model formula syntax, specifying families and priors; fitting basic models with brm().

Session 5 – 01:15:00 – Bayesian GLMs for Ecologists
Fitting Poisson, Gaussian, and logistic models in brms; posterior summaries and interpretation; visualising fitted effects and posterior uncertainty.

Session 6 – 01:15:00 – Visualising and Summarising Models
Using bayesplot, ggplot2, and tidybayes to explore posterior distributions and posterior predictions.

Motivation, Implementation, and Evaluation of Random Intercept Models

Session 7 – 01:15:00 – Why Multilevel Models?
Introducing Pseudo-replication and non-independence in ecological data; random intercepts and partial pooling; visualising multilevel model structure.

Session 8 – 01:15:00 – Fitting Random Intercepts in brms
Syntax for random effects in brms; interpreting group-level effects and variance components; extracting and plotting random intercepts.

Session 9 – 01:15:00 – Model Diagnostics for Multilevel Models
Examining traceplots, convergence checks, posterior predictive checks by group; assessing fit and structure of random intercept models.

Random Slopes, Model Structures, and Predictor Preparation in Multilevel Models

Session 10 – 01:15:00 – Random Slopes and Slope and Intercept Models
Motivation for random slopes, syntax and interpretation, understanding and visualising intercept-slope correlations.

Session 11 – 01:15:00 – Crossed vs. Nested Random Effects
Conceptual and practical distinctions between nested and crossed designs; specifying models in brms; ecological use cases and implications.

Session 12 – 01:15:00 – Centring and Scaling Predictors
Grand mean vs. group mean centring; standardisation for model convergence and interpretation; coding and plotting strategies.

GLMMs for Ecological Data – Discrete Outcomes and Model Fit Assessment

Session 13 – 01:15:00 – Count Models: Poisson, Negative Binomial, and Zero-Inflated
Modelling count data in ecology; overdispersion and zero inflation; comparing Poisson and NB models; fitting ZIP/ZINB models in brms.

Session 14 – 01:15:00 – Binary and Proportional Data
Bernoulli and binomial models; grouped trials and proportion data; predicting and visualising probabilities; accounting for random effects.

Session 15 – 01:15:00 – Posterior Predictive Checks for GLMMs
Assessing model fit; using bayes_R2(), LOO cross-validation, and residual plots to evaluate model performance.

Modeling Time in Repeated Measures – Slopes, Autocorrelation, and Case Studies

Session 16 – 01:15:00 – Time as a Predictor or Grouping Variable
Modelling time trends in repeated measures; fixed and random slopes for time; visualising site- or individual-level changes over time.

Session 17 – 01:15:00 – Temporal Autocorrelation in brms
Autoregressive models with cor_ar(); diagnosing residual structure; fitting and interpreting temporal autocorrelation parameters.

Session 18 – 01:15:00 – Case Study: Bird Counts Over Years
Worked example of multilevel temporal modelling with autocorrelation; evaluating model improvement; ecological interpretation of trends.

Temporal Modeling in Ecology – Trends, Autocorrelation, and Applications

Session 19 – 01:15:00 – Spatial Dependence in Ecological Models
Why spatial structure matters; detecting spatial autocorrelation; overview of spatial options in brms (Gaussian Process and CAR).

Session 20 – 01:15:00 – Gaussian Process Models in brms
Fitting continuous spatial models using gp(); understanding spatial range and smoothness parameters; visualising fitted surfaces.

Session 21 – 01:15:00 – CAR Models and Spatial Case Study
Fitting discrete spatial models with car(); setting up adjacency matrices; interpreting spatial random effects on maps; full case study.

Working with Priors – From Ecological Knowledge to Robust Bayesian Inference

Session 22 – 01:15:00 – Choosing Priors for Ecological Models
Setting meaningful priors for intercepts, slopes, and random effects; linking priors to ecological knowledge; interpreting on the link scale.

Session 23 – 01:15:00 – Prior Predictive Simulation
Simulating from the prior with sample_prior = “only”; identifying unrealistic priors; adjusting and refining priors based on biological plausibility.

Session 24 – 01:15:00 – Sensitivity to Priors
Assessing robustness of posterior results to different prior choices; comparing models; interpreting and reporting sensitivity in ecological applications.

Modeling Multiple Ecological Outcomes – From Theory to Application

Session 25 – 01:15:00 – Multivariate Outcomes in Ecology
Motivation for modelling multiple responses; syntax for multivariate models with mvbf(); estimating and interpreting residual correlations.

Session 26 – 01:15:00 – Joint Species Distribution Models
Using multivariate GLMs to model species co-occurrence; extracting correlation matrices; limitations and ecological interpretation of species distribution models in brms.

Session 27 – 01:15:00 – Ecological Case Study
Modelling multiple species across sites; fitting and interpreting a multivariate logistic model; plotting site-level predictions and species correlations.

Summarizing Results, Generating Predictions, and Wrapping Up Bayesian Workflow

Session 28 – 01:15:00 – Interpreting and Plotting Posteriors
Summarising model results using fixef(), ranef(), and posterior intervals; visualising effects with tidybayes, bayesplot, and ggplot2.

Session 29 – 01:15:00 – Predictions and Posterior Simulation
Using fitted(), posterior_predict(), and posterior_epred() to generate predictions.

Session 30 – 01:15:00 – Final Summary and Best Practices
Review of full Bayesian workflow; reporting model structure and diagnostics; practical tips for reproducibility, transparency, and extensions (e.g. causal models, mixture models).

Testimonials

PRStats offers a great lineup of courses on statistical and analytical methods that are super relevant for ecologists and biologists. My lab and I have taken several of their courses—like Bayesian mixing models, time series analysis, and machine/deep learning—and we've found them very informative and directly useful for our work. I often recommend PRStats to my students and colleagues as a great way to brush up on or learn new R-based statistical skills.

Rolando O. Santos

PhD Assistant Professor, Florida International University

Courses attended

SIMM05, IMDL03, ITSA02, GEEE01 and MOVE07

Testimonials

PRStats offers a great lineup of courses on statistical and analytical methods that are super relevant for ecologists and biologists. My lab and I have taken several of their courses—like Bayesian mixing models, time series analysis, and machine/deep learning—and we've found them very informative and directly useful for our work. I often recommend PRStats to my students and colleagues as a great way to brush up on or learn new R-based statistical skills.

Rolando O. Santos

PhD Assistant Professor, Florida International University

Courses attended

SIMM05, IMDL03, ITSA02, GEEE01 and MOVE07

Testimonials

PRStats offers a great lineup of courses on statistical and analytical methods that are super relevant for ecologists and biologists. My lab and I have taken several of their courses—like Bayesian mixing models, time series analysis, and machine/deep learning—and we've found them very informative and directly useful for our work. I often recommend PRStats to my students and colleagues as a great way to brush up on or learn new R-based statistical skills.

Rolando O. Santos

PhD Assistant Professor, Florida International University

Courses attended

SIMM05, IMDL03, ITSA02, GEEE01 and MOVE07

Frequently asked questions

Everything you need to know about the product and billing.

When will I receive instructions on how to join?

You’ll receive an email on the Friday before the course begins, with full instructions on how to join via Zoom. Please ensure you have Zoom installed in advance.

Do I need administrator rights on my computer?

Yes — administrator access is recommended, as you may need to install software during the course. If you don’t have admin rights, please contact us before the course begins and we’ll provide a list of software to install manually.

I’m attending the course live — will I also get access to the session recordings?

Yes. All participants will receive access to the recordings for 30 days after the course ends.

I can’t attend every live session — can I join some sessions live and catch up on others later?

Absolutely. You’re welcome to join the live sessions you can and use the recordings for those you miss. We do encourage attending live if possible, as it gives you the chance to ask questions and interact with the instructor. You’re also welcome to send questions by email after the sessions.

I’m in a different time zone and plan to follow the course via recordings. When will these be available?

We aim to upload recordings on the same day, but occasionally they may be available the following day.

I can’t attend live — how can I ask questions?

You can email the instructor with any questions. For more complex topics, we’re happy to arrange a short Zoom call at a time that works for both of you.

Will I receive a certificate?

Yes. All participants receive a digital certificate of attendance, which includes the course title, number of hours, course dates, and the instructor’s name.

When will I receive instructions on how to join?

You’ll receive an email on the Friday before the course begins, with full instructions on how to join via Zoom. Please ensure you have Zoom installed in advance.

Do I need administrator rights on my computer?

Yes — administrator access is recommended, as you may need to install software during the course. If you don’t have admin rights, please contact us before the course begins and we’ll provide a list of software to install manually.

I’m attending the course live — will I also get access to the session recordings?

Yes. All participants will receive access to the recordings for 30 days after the course ends.

I can’t attend every live session — can I join some sessions live and catch up on others later?

Absolutely. You’re welcome to join the live sessions you can and use the recordings for those you miss. We do encourage attending live if possible, as it gives you the chance to ask questions and interact with the instructor. You’re also welcome to send questions by email after the sessions.

I’m in a different time zone and plan to follow the course via recordings. When will these be available?

We aim to upload recordings on the same day, but occasionally they may be available the following day.

I can’t attend live — how can I ask questions?

You can email the instructor with any questions. For more complex topics, we’re happy to arrange a short Zoom call at a time that works for both of you.

Will I receive a certificate?

Yes. All participants receive a digital certificate of attendance, which includes the course title, number of hours, course dates, and the instructor’s name.

Still have questions?

Can’t find the answer you’re looking for? Please chat to our friendly team.

×

Tickets

The numbers below include tickets for this event already in your cart. Clicking "Get Tickets" will allow you to edit any existing attendee information as well as change ticket quantities.
Tickets are no longer available
£450.00
20 October 2025 - 31 October 2025
Delivered remotely (United Kingdom), Western European Time Zone, United Kingdom
A close up of an Eagle's face