Scatterplot Smoothers
About
  • Jul 30, 2026
    All of Nothing is True

    all([]) is True and any([]) is False, and that’s the only sensible choice.

  • Apr 8, 2026
    The Fictions of Mean Reversion

    A cautionary tale of data analysis, chasing the ghosts of mean reversion, and the protective power of testing asymmetric effects.

  • Mar 19, 2026
    The Galois Group of $(x^5 - 7)(x^4 - 5)$

    The splitting fields of $x^5 - 7$ and $x^4 - 5$ both contain $\sqrt{5}$. This makes computing the Galois group of their product pretty interesting.

  • Mar 1, 2026
    Life Without Lebesgue

    In a reckless spirit, we evaluate a tricky limit of integrals without the Lebesgue convergence theorems.

  • Oct 4, 2017
    How Does A Computer Calculate Eigenvalues?

    Textbook exercises compute eigenvalues from roots of the characteristic polynomial. What computers do is much neater.

  • Aug 12, 2017
    Marginalizing Multiplicative Noise is Ridge Regression

    An uncommon view of ridge regression, with proof and simulation.

  • Aug 4, 2017
    A Comparison of Basis Expansions in Regression

    Basis expansions allow linear regressions to fit non-linear relationships. We compare several common basis expansions, and advocate for linear and natural cubic splines.

  • Jun 21, 2017
    The Probabilistic Interpretation of AUC

    A picture proof that AUC is the probability a randomly chosen positive example is scored above a randomly chosen negative one.

  • Jul 20, 2016
    A Deep Dive Into How R Fits a Linear Model

    What happens when you call lm in R? At the bottom is some of the oldest open source code still in use.

  • Jun 20, 2016
    Writing a C Extension Module for Python

    How to write a Python module in C.

    Interactive

  • Jul 24, 2016
    Interactive Scatter Plot Smoothers
  • Scatterplot Smoothers
  • matthew.drury.83@gmail.com
  • madrury

Musings and ramblings on statistics, math, and computer programming.