M04 Statistics & Probability for Markets (applied with Python — see M28)

What you will learn: the maths toolkit behind every later module, taught through market data.

Learn first: M28 Python Lab & Python Library Atlas

Module exam

When you have finished the topics, a timed exam on the whole module earns a certificate you can share and anyone can check.

See the module exam

Chapters

  1. C01 Market Data & Returns Chapter quiz

    • Price data: OHLCV, adjusted prices, corporate-action adjustment · Coming soon
    • Simple vs log returns · Coming soon
    • Annualising returns and volatility · Coming soon
    • Data traps: survivorship bias and look-ahead bias · Coming soon
  2. C02 Descriptive Statistics Chapter quiz

    • Mean, median and mode of returns · Coming soon
    • Variance and standard deviation (volatility) · Coming soon
    • Skewness, kurtosis and fat tails · Coming soon
    • Percentiles, quantiles and drawdown distributions · Coming soon
  3. C03 Probability & Distributions Chapter quiz

    • Probability and expected value for traders · Coming soon
    • Normal, log-normal and Student-t distributions · Coming soon
    • Binomial and Poisson distributions (counting events) · Coming soon
    • Law of large numbers and the central limit theorem · Coming soon
    • Monte Carlo simulation · Coming soon
  4. C04 Relationships Between Assets Chapter quiz

    • Covariance and correlation · Coming soon
    • Correlation ≠ causation; spurious correlations · Coming soon
    • Beta: market sensitivity · Coming soon
    • Rolling correlation and regime change · Coming soon
  5. C05 Inference & Testing Chapter quiz

    • Sampling and confidence intervals · Coming soon
    • Hypothesis tests and p-values · Coming soon
    • Multiple testing and data snooping · Coming soon
    • Bootstrapping · Coming soon
  6. C06 Regression & Factor Models Chapter quiz

    • Linear regression (OLS) · Coming soon
    • Multiple regression; CAPM and Fama-French factor models · Coming soon
    • Diagnostics: heteroskedasticity, multicollinearity, residuals · Coming soon
    • Regularisation: Ridge and Lasso · Coming soon
  7. C07 Time Series Analysis Chapter quiz

    • Stationarity and unit-root tests (ADF) · Coming soon
    • Autocorrelation: ACF and PACF · Coming soon
    • AR, MA and ARIMA models · Coming soon
    • Volatility models: ARCH and GARCH · Coming soon
    • Cointegration · Coming soon
  8. C08 Applying Python to Market Data (uses M28) Chapter quiz

    • Python, NumPy and pandas for price series · Coming soon
    • Plotting prices, returns and distributions · Coming soon
    • Loading data from CSV files and APIs · Coming soon
    • Building reusable analysis notebooks · Coming soon
  9. C09 Bayesian Methods Chapter quiz

    • Prior, likelihood and posterior in trading language · Coming soon
    • Updating a win-rate belief trade by trade (Beta-Binomial) · Coming soon
    • Bayesian regression and shrinkage · Coming soon
    • Credible intervals vs confidence intervals · Coming soon
    • Bayesian optimisation for parameter search · Coming soon
    • Hierarchical models: pooling information across stocks · Coming soon
  10. C10 Advanced Time-Series & State-Space Models Chapter quiz

    • The Kalman filter: dynamic hedge ratios and trend extraction · Coming soon
    • State-space models and local-level models · Coming soon
    • VAR, VECM and Granger causality · Coming soon
    • Markov regime-switching models · Coming soon
    • Long memory (ARFIMA) and structural breaks (CUSUM, Chow) · Coming soon
    • Realised-volatility models (HAR) and forecast evaluation (Diebold-Mariano) · Coming soon
  11. C11 Extreme Values, Copulas & Tail Dependence Chapter quiz

    • Fat tails and the failure of the normal distribution · Coming soon
    • Extreme value theory: block maxima and peaks-over-threshold · Coming soon
    • Copulas: modelling dependence separately from margins · Coming soon
    • Tail dependence and why correlations jump in crises · Coming soon
    • Applying EVT/copulas to VaR and stress tests (links M08.C04) · Coming soon
  12. C12 Causal Inference for Markets Chapter quiz

    • Correlation, causation and confounders · Coming soon
    • Causal graphs and common traps (colliders, selection bias) · Coming soon
    • Event studies and difference-in-differences · Coming soon
    • Instrumental variables and regression discontinuity · Coming soon
    • Causal thinking for strategy research (links M11, M13) · Coming soon
  13. C13 Robust & Non-Parametric Statistics Chapter quiz

    • Median, MAD and robust scale for fat-tailed returns · Coming soon
    • Rank-based tests and rank correlation (Spearman, Kendall) · Coming soon
    • Robust and quantile regression · Coming soon
    • Winsorising and outlier policy · Coming soon
    • Kernel density and bootstrap confidence bands · Coming soon
  14. C14 Panel Data & Cross-Sectional Methods Chapter quiz

    • Panels: stocks × time · Coming soon
    • Fama-MacBeth regressions · Coming soon
    • Fixed and random effects; clustering standard errors · Coming soon
    • Portfolio sorts and information coefficients · Coming soon
    • Survivorship and look-ahead in panels · Coming soon
  15. C15 Statistical Research Lab Chapter quiz

    • Lab: an end-to-end research notebook (question → data → test → conclusion) · Coming soon
    • Lab: p-hacking demonstration (find "signals" in random data) · Coming soon
    • Lab: bootstrap a Sharpe ratio and its confidence interval · Coming soon
    • Lab: regime detection on the sample index · Coming soon
    • Writing a one-page research note · Coming soon