Introduction & prerequisites#

These are short exercises (with worked solutions) to refresh the core mathematics and statistics ideas that show up repeatedly in:

  • Ecological & Evolutionary Modelling (building and analysing mechanistic models)

  • Advanced Data Analyses and Statistics (fitting models to data and doing inference)

You will learn / refresh#

  • Functions, graphs, and transformations

  • Calculus (derivatives/integrals, Taylor series intuition)

  • Linear algebra basics (matrices, eigenvalues)

  • Differential equation intuition (equilibria, stability)

  • Probability and likelihood fundamentals

Prerequisites#

There are no formal prerequisites. However, what you should prioritise depends on which MQB section you are preparing for.

If you are preparing for Ecological & Evolutionary Modelling#

This section uses mathematical models as the main language. You will get most value if you can:

  • Manipulate algebraic expressions (rearrange equations; logs/exponentials)

  • Interpret derivatives/integrals as rates and accumulation

  • Multiply a small matrix by a vector; read a matrix model; basic eigenvalue intuition

These skills are used heavily in:

If you are preparing for Advanced Data Analyses and Statistics#

This section is about fitting models and quantifying uncertainty. You will get most value if you can:

  • Work comfortably with exponentials/logs and simple calculus (for optimisation and likelihoods)

  • Understand probability basics (expectation/variance; common distributions)

  • Read and manipulate a log-likelihood (dropping constants; interpreting parameters)

These skills are used heavily in:

If you are preparing for (future) Bayesian modelling#

Bayesian chapters are not yet deployed, but if/when you take them you will get most value if you can:

  • Manipulate probabilities and densities (including conditional probability)

  • Understand what a prior, likelihood, and posterior represent

  • Interpret uncertainty summaries (credible intervals) and posterior predictive thinking

  • Recognise that computation (e.g. sampling) is often required when posteriors are not available in closed form

The closest prerequisites in the current MQB material are:

If you are preparing for (future) Machine Learning modelling#

Machine-learning chapters are not yet deployed, but if/when you take them you will get most value if you can:

  • Think in terms of prediction vs explanation (and when each is appropriate)

  • Understand train/test splits, cross-validation, overfitting, and why leakage matters

  • Be comfortable with feature/response notation and basic matrix/vector operations

  • Interpret performance metrics (e.g. accuracy/AUC for classification; RMSE/\(R^2\) for regression)

The closest prerequisites in the current MQB material are:

If you want a quick refresher on the “basic stats” pipeline first (design → tests → regression), see:

Do this first#

  1. Work through the Exercises

  2. Use the Solutions to check your reasoning

When to use this#

  • Before the modelling chapters if you feel rusty.

  • Before GLMs/NLLS/MLE if you feel rusty.