This github repo contains the raw teaching materials for the Statistical Population Modelling for Census Support workshop, funded by the United Nations Population Fund. It has been developed by the WorldPop Research Group, University of Southampton.
The repo consists in a series of tutorials in Bayesian statistics for population modelling with hands-on experience. It includes example code and other resources designed to expedite the learning curve.
The key concepts that are covered in the tutorial series include:
- Introduction to software for Bayesian statistical modelling: R and Stan,
- Simple linear regression in a Bayesian context,
- Random effects to account for settlement type (e.g. urban/rural) and other types of stratification in survey data,
- Quantifying and mapping uncertainties in population estimates and
- Diagnostics to evaluate model performance (e.g. cross-validation).
It has been first taught to the Brazilian Stats Office, Instituto Brasileiro de Geografia e Estatística (IBGE), in October 2021.
- Introduction
- Tutorial 1: How to think about population as a Bayesian?
- Tutorial 2: How to model large-scale spatial variations?
- Tutorial 3: How to model small-scale spatial variations?
- Tutorial 4: Advanced model diagnostics and prediction
- Conclusion
The relevant materials are in the tutorials
folder.
Each tutorial has its dedicated folder that contains:
- Tutorial material
- The
R
code - The
stan
code
- The
- Background files
- The
R markdown
code that has been used to produce thehtml
page - The
references.bib
with references used for the tutorial - The
html
code for the website page
- The
The data
folder contains outputs of the tutorial.
The tutorials were written by Edith Darin from WorldPop, University of Southampton and Douglas Leasure from Leverhulme Centre for Demographic Science, University of Oxford, with supervision from Andrew Tatem, WorldPop, University of Southampton.
Funding for the work was provided by the United Nations Population Fund.
You are free to redistribute this document under the terms of a Creative Commons Attribution-NoDerivatives 4.0 International (CC BY-ND 4.0) license.
Darin E, Leasure DR, Tatem AJ. 2021. Statistical population modelling for census support. WorldPop, University of Southampton, https://wpgp.github.io/bottom-up-tutorial/, doi:10.5281/zenodo.5572490