Our tutorial paper is a step-by-step guide to conducting and interpreting intersectional MAIHDA (Multilevel Analysis of Individual Heterogeneity and Discriminatory Accuracy) models. It is aimed at researchers who want to apply MAIHDA in their own work, in fields such as social epidemiology, public health and the wider social sciences. It covers both continuous and binary outcomes and works through an illustrative health example using simulated data, with the data and R and Stata code needed to reproduce the analyses.
The paper
Evans, C.R., Leckie, G., Subramanian, S.V., Bell, A. and Merlo, J. (2024). A tutorial for conducting intersectional multilevel analysis of individual heterogeneity and discriminatory accuracy (MAIHDA). SSM – Population Health, 101664. https://doi.org/10.1016/j.ssmph.2024.101664
Read the tutorial paper (open access, SSM – Population Health)
Code and data
All the materials for the tutorial exercise are on the Open Science Framework (OSF): MAIHDA tutorial materials on OSF.
- R code for the tutorial exercise (OSF)
- Stata code for the tutorial exercise (OSF)
- Simulated data for the tutorial exercise (OSF)
Learn more
- MAIHDA training materials and recorded talks: slides, practical exercises and videos from our training courses.
- MAIHDA Conference 2026 recordings: talks on extensions, testing and critiques of MAIHDA.
- Cocoon app: an interactive tool for exploring the strata predictions from your MAIHDA models.