Interactive Statistical Learning Notebooks

๐ŸŽ“ Interactive demonstrations for Advanced Data Analytics, Linear Models, and Quantitative Data Analysis

๐Ÿ Python 3.12+ | ๐Ÿ“Š Marimo | ๐Ÿ“ˆ Plotly | ๐Ÿงฎ WebAssembly

STAT312: Advanced Data Analytics

๐Ÿ” k-Nearest Neighbours Classification

Learn the fundamentals of k-NN classification through interactive exploration of decision boundaries, parameter effects, and performance evaluation.

๐Ÿงฎ Kernel Density Estimation

Explore kernel density estimation techniques through interactive visualisation of density estimates, kernel choices, bandwidth effects, and data distributions.

๐Ÿ“ˆ Non-Parametric Regression

Explore kernel methods and non-parametric regression techniques with side-by-side comparisons of k-NN and Nadaraya-Watson approaches.

๐ŸŽฏ K-Means Clustering

Watch K-Means clustering evolve step-by-step with interactive control over iterations, initialisation, and cluster parameters.

STAT321: Linear Models and Time Series Analysis

๐Ÿ“ OLS Geometry Explorer

Explore the geometric interpretation of Ordinary Least Squares through interactive 3D visualisation of the column space, projection, and residuals.

๐Ÿ”€ FWL Theorem Explorer

Step through the Frisch-Waugh-Lovell theorem in 3D and see how partialling out recovers the same coefficients as full OLS.

STAT420: Quantitative Data Analysis

๐ŸŒณ Classification and Regression Trees (CART)

Explore decision trees and cost-complexity pruning through interactive tree growth and visualisation.