Uncertainty · Samples · Inference

Introduction to Probability, Statistics and Data Science

How do we describe uncertainty, learn from a sample, and connect a probabilistic model to data?

This course is being built. Only some of the units are published; the rest are marked ‘in preparation’. What is published is complete and can be studied now.

Learning materials and visual explanations

  1. Exploratory Data Analysis

    Available

    Centre and spread, histograms, boxplots, violin and scatter plots, joint distributions and independence in data.

    1. 1.1LessonSame Statistics, Different Pictures: Centre, Spread and HistogramsWhy one number does not describe data: mean and median, range, standard deviation and quartiles, histograms and the log scale, on salaries in the 2026 Stack Overflow Developer Survey, with the pandas and matplotlib commands.
    2. 1.2LessonComparing and Relating: Boxplots, Violin Plots, Scatter Plots and Frequency TablesHow to compare distributions across groups and check whether two variables are related: the boxplot and the IQR rule, the violin plot, scatter plots, frequency tables, conditional rates and independence in data, on the 2026 Stack Overflow Developer Survey.
      Practice pages (2)
      1. 1.2.1ExercisePractice: Centre, Spread and Boxplots by HandQuestions to solve on paper: mean, median and standard deviation, quartiles by the method of halves, the IQR rule, drawing a boxplot by hand and reading one on small sets of real answers from the 2026 Stack Overflow Developer Survey, and choosing a time margin from the real delays of a flight.
      2. 1.2.2ExercisePractice: Python, the Inquiry Tool and Reading GraphsHistograms with two bin widths, boxplots and violin plots by group, and a frequency table with conditional rates in pandas and matplotlib, code-reading questions, practice with the inquiry tool and the interpretation of a graph, on the 2026 Stack Overflow Developer Survey, and two decisions from real hospital data.
  2. Discrete Random Variables

    In preparation

    Probability, conditional probability and independence, distributions, expectation and variance, and the common discrete distributions.

  3. Continuous Random Variables

    In preparation

    Densities, the uniform, normal and exponential distributions.

  4. The Law of Large Numbers, the Central Limit Theorem and Simulation

    In preparation

    Averages of many observations, the central limit theorem, and Monte Carlo simulation.

  5. Data Science and Data Quality

    In preparation

    Missing values, outliers, transformations and cleaning data.

  6. Sampling, Statistical Thinking and Ethics

    In preparation

    Sampling methods, sampling bias, responsible data collection and fairness.

  7. Estimation, Likelihood, Confidence Intervals and the Bootstrap

    In preparation

    Estimators, maximum likelihood, confidence intervals and resampling.

  8. Hypothesis Testing

    In preparation

    Null and alternative hypotheses, p-values, errors of the two kinds and power.

  9. Parametric Tests

    In preparation

    The t distribution, t-tests and tests for proportions.

  10. Chi-Square Tests

    In preparation

    Goodness of fit and tests of independence.

  11. Checking Distributions

    In preparation

    Q-Q plots and tests of normality.

  12. Correlation, Causality and Regression

    In preparation

    Pearson and Spearman correlation, confounders, experiments and linear regression.

  13. Multiple Comparisons and Data Leakage

    In preparation

    Bonferroni, Holm and false discovery rate corrections, and data leakage.

  14. Concepts and Notation

    Available

    A linked glossary of concepts already introduced in the lessons.

    1. 14.1LessonGlossary of Terms and NotationThe terms of the course, with notation and links to the lesson that explains each.

These materials supplement the teaching in the course. The syllabus, deadlines, assessment instructions, and group announcements are published in the institution’s course system.