Writing
A/B Tests and Quasi-Experiments from First Principles
A coin flip, a pre-test covariate, a nudge, a cutoff and a before-and-after comparison, derived from potential outcomes with one trick: subtract what the groups share, divide by how far the design moved the treatment.
Deriving the Distributions from a Coin and a Clock
Binomial, exponential, Poisson, beta, gamma, normal, Student's t and Tweedie, built from one coin and one clock, with a map of how they connect and an A/B test worked end to end.
Deriving the Prior-Data Fitted Network
From Bayesian prediction to tabular in-context learning, Do-PFN, and time-series forecasting. With figures you can move.
Notes
Transformers as memory: the mathematics, from matrices to a unified view
Matrix-vector and matrix-matrix views, outer-product memories, the MLP as slow memory, attention as a soft dictionary, fast and slow weights, and one unified table, with twenty-two interactive figures.