With thanks to Andy Yan, the Duke of Data, and occasional PT contributor.