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.


Part 1 - Nutritional Epidemiology


1.03 - Introduction to Jupyter and Google Colab

Open 1.03 in Colab Open in Binder (no login required)


1.04 - Data collection and cleaning

Open 1.04 in Colab Open in Binder (no login required)


1.05 - Representativeness and sampling

Open 1.05 in Colab Open in Binder (no login required)


1.06 - Data exploration and “Table 1”

Open 1.06 in Colab Open in Binder (no login required)


1.07 - Data transformation

Open 1.07 in Colab Open in Binder (no login required)


1.08 - Regression and modelling (Part 1)

Open 1.08 in Colab Open in Binder (no login required)


1.09 - Regression and modelling (Part 2)

Open 1.09 in Colab Open in Binder (no login required)


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.

Open 1.09a in Colab Open in Binder (no login required)


1.10 - Missing data and sensitivity analysis

Open 1.10 in Colab Open in Binder (no login required)


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.

Open 2.02 in Colab Open in Binder (no login required)


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.

Open 2.03 in Colab Open in Binder (no login required)


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.

Open 2.04 in Colab Open in Binder (no login required)


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.

Open 2.05 in Colab Open in Binder (no login required)


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.

Open 2.06 in Colab Open in Binder (no login required)


Assessment

Please find assessment details here