nizam notes projects archive github

A blog on technical topics I like, written from first principles. Each essay leans on plots and figures you can move, because an idea only lands once you have seen it.

Writing

DraftRead the draft →

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.

DraftRead the draft →

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.

DraftRead the draft →

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

DraftRead the note →

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.