Statistics is how you tell a real pattern from noise. Without it, it is easy to celebrate an A/B test that won by chance or trust a model that only fits the past. This course teaches the statistics that data analysts and data scientists use every day, with intuition first, simulation to make ideas concrete and Python to apply them to real data.
What you'll learn
- Descriptive statistics: mean, median, variance, percentiles and when averages mislead
- Probability basics, conditional probability and Bayes' theorem
- Common distributions: binomial, Poisson, normal and long-tailed data
- Sampling, the central limit theorem and the bootstrap
- Confidence intervals and what they actually mean
- Hypothesis tests: t-tests, chi-square tests and non-parametric alternatives, and the limits of p-values
- Designing and analysing A/B tests: sample size, power, peeking and multiple comparisons
- Correlation versus causation, confounders and an introduction to causal thinking
- Linear and logistic regression: fitting, interpreting coefficients and checking assumptions
- Doing it all in Python with NumPy, pandas, SciPy and statsmodels
Who it's for
- Data analysts who want to make defensible claims from data
- Aspiring data scientists and machine learning engineers filling gaps in their foundations
- Product managers and marketers who run experiments
Prerequisites
- Basic Python and pandas (see Data Analysis with Python and pandas)
- School-level algebra; no calculus required
- Python with Jupyter or a similar notebook environment
Outcomes
By the end of this course you will be able to:
- Summarise and describe a dataset appropriately, including skewed data.
- Calculate and correctly interpret confidence intervals and hypothesis tests.
- Design an A/B test with enough power and analyse its results honestly.
- Fit and interpret regression models and recognise when their assumptions fail.
Course outline
| Module | Topic |
|---|---|
| 1 | Describing data |
| 2 | Probability and Bayes' theorem |
| 3 | Distributions |
| 4 | Sampling, the central limit theorem and the bootstrap |
| 5 | Confidence intervals |
| 6 | Hypothesis testing and p-values |
| 7 | Comparing groups: t-tests, chi-square and non-parametric tests |
| 8 | A/B testing in practice |
| 9 | Correlation and causation |
| 10 | Linear regression |
| 11 | Logistic regression and model diagnostics |
| 12 | Project: analysing a real experiment end to end |
FAQ
Is there a lot of maths?
There is some notation, but we focus on intuition and simulation in Python before formulas, so you understand what each method does.
Does this cover Bayesian statistics?
We introduce Bayes' theorem and Bayesian thinking for A/B tests, but the course mainly covers the frequentist methods used in most workplaces.
What comes next?
Machine Learning Fundamentals with Python and scikit-learn builds directly on this course.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.