FB2NEP — Nutritional Epidemiology
Practical workbooks
This page links to the FB2NEP practical workbooks.
Each notebook can be opened in two ways — choose whichever works best for you:
- Google Colab — requires a Google account, but offers a reliable environment with easy file saving to Google Drive.
- Binder — no account required; opens directly in your browser. May take a minute to start up.
You may also download the notebooks and run them locally in Jupyter.
How-To and sandbox (optional, but recommended)
If you have not used Python or Google Colab before, start with the How-To & Sandbox materials.
They show you how to open notebooks, run code safely, and try things out without breaking anything.
Part 1 - Nutritional Epidemiology
1.03 - Introduction to Jupyter and Google Colab
1.04 - Data collection and cleaning
1.05 - Representativeness and sampling
1.06 - Data exploration and “Table 1”
1.07 - Data transformation
1.08 - Regression and modelling (Part 1)
1.09 - Regression and modelling (Part 2)
1.09a - Confounding: causal diagrams and worked examples
Four worked examples with DAGs and synthetic data — showing clearly how age, sex, SES, and smoking distort crude associations, and what happens when you adjust for them.
1.10 - Missing data and sensitivity analysis
Part 2 - Public Health Nutrition: Policy and Evaluation
The following workbooks focus on quantitative methods for evaluating public health nutrition policies.
2.02 - DALYs and QALYs
Quantifying population health burden using Disability-Adjusted Life Years and Quality-Adjusted Life Years. Includes an interactive exercise where you set your own disability weights and compare to GBD values.
2.03 - Health inequalities
Measuring the social gradient in health using the Slope Index of Inequality (SII), Relative Index of Inequality (RII), and concentration curves. Applied to dietary intake and nutrition-related outcomes.
2.04 - Case study: Salt reduction (with objective measures)
Evaluating the UK salt reduction programme using 24-hour urinary sodium — a model example of policy evaluation with an objective biomarker. Includes health impact modelling and sensitivity analysis.
2.05 - Case study: Sugar reduction (without objective measures)
Evaluating the Soft Drinks Industry Levy (SDIL) without a biomarker — exploring the evidence hierarchy from product reformulation to health outcomes. Addresses the counterfactual problem in policy evaluation.
2.06 - Policy simulation and resource allocation
Interactive budget allocation game: distribute £50M across public health nutrition interventions. Explore trade-offs between efficiency and equity, the impact of diminishing returns, and uncertainty in cost-effectiveness estimates.
Assessment
Please find assessment details here