Machine Learning vs Classical Statistics
Classical statistics builds a model to explain and test a hypothesis about the world; machine learning builds a model to predict well on new data — the same equation can serve either goal, but the goal changes everything about how it should be judged.
Prerequisites: Maximum Likelihood Estimation (MLE)
Two analysts each build a model relating a company's leverage to its stock's return. The first wants to know: is leverage actually causally related to return, and can I trust the coefficient enough to put in a research note? She cares about confidence intervals and whether the model's assumptions hold. The second wants to know: if I feed this model tomorrow's leverage numbers, will it predict tomorrow's return well? He doesn't care what the coefficient "means," only whether the output is accurate. Same regression equation, same data — completely different disciplines, because the goal differs. That's the entire distinction between classical statistics and machine learning: inference versus prediction.
Classical statistics: explain, with quantified uncertainty
Classical statistics starts from an assumed model of how the world generates data — say, , where is random noise with known properties — and asks what can be said about the unknown parameter given the observed sample. Its central product isn't a prediction but a statement of confidence: a coefficient estimate and a standard error, a hypothesis test, a p-value. The question is "how sure can I be this relationship is real, not a fluke of this sample?" This demands strong assumptions about the noise, because those assumptions are exactly what let you compute the uncertainty statement in the first place.
Machine learning: predict, judged on held-out data
Machine learning starts from the same kind of equation but drops the interest in 's meaning entirely. It asks: does the fitted function, whatever it looks like, produce accurate outputs on data it has never seen? The central product is a prediction, and the way you validate it is empirical, not theoretical — you don't derive a formula for how confident to be, you hold out real data the model never touched during fitting and check how well it does there. This lets ML use models far more flexible than classical statistics is comfortable with — deep networks, gradient-boosted trees, ensembles of thousands of weak learners — precisely because it never needed a clean formula for the uncertainty of any single coefficient; it only needs the held-out predictions to be good.
Both disciplines live on this same curve, but they read it differently. Classical statistics tends to stay on the low-complexity, high-bias side deliberately, because interpretable coefficients with tractable uncertainty require simple functional forms. Machine learning is comfortable pushing complexity up toward the point that minimizes test error, even if the resulting model has no interpretable coefficients at all — as long as the validation curve says it generalizes.
Worked example 1: the same regression, two verdicts
Fit on 40 data points and get with standard error . The classical-statistics verdict: the t-statistic is , comfortably above the usual threshold of about for significance at the 5% level, so the analyst reports "leverage has a statistically significant positive relationship with return in this sample, ." That is a complete, defensible statistical statement — it says nothing yet about whether this model predicts well on new companies.
The machine-learning verdict on the identical fitted line: split off 10 held-out points never used in fitting, compute predictions, and get RMSE on the held-out set versus RMSE on the training set. That gap is the actual finding that matters here — the coefficient's significance says nothing about it. A highly significant coefficient can still come attached to a model that predicts badly out of sample if the relationship, while real, is small relative to the noise a fresh dataset will contain.
Worked example 2: when the two disciplines disagree on which model wins
Two models predict the same target. Model A is a linear regression: 2 coefficients, both significant at , on training data. Model B is a gradient-boosted ensemble with hundreds of internal splits, no coefficients to test, no p-values at all. By classical-statistics standards, Model B isn't even a candidate: nothing to interpret, no confidence interval for a risk committee.
By machine-learning standards, only held-out performance decides: fit both on a training portion, measure RMSE on data neither saw. Suppose A scores RMSE and B scores . B wins decisively by the only criterion ML cares about, despite zero interpretability. Which model a desk should deploy depends on whether the use needs an explainable coefficient (a research note) or just the best possible number (a live signal that only needs to be right).
The question "is this relationship statistically significant" and the question "will this model predict well on new data" are different questions with different correct methods for answering them — a highly significant coefficient can sit inside a model that predicts badly, and a model with excellent out-of-sample accuracy can have no interpretable coefficients at all.
What this means in practice
Quant research usually needs both disciplines at different stages of the same project. Early-stage signal research leans on classical-statistics tools — t-stats, factor regressions, hypothesis tests — to establish a candidate relationship is plausibly real, not noise. Once a signal survives that filter, building the actual trading model that combines it with dozens of others usually shifts to a machine-learning mindset — flexible models validated purely by held-out predictive performance, with no attempt to interpret individual weights.
Reporting a machine-learning model's feature importances or coefficients as if they carried the statistical guarantees of a classical regression is a common and serious error. A random forest's "feature importance" or a neural network's large weight on some input does not come with a p-value or a confidence interval in the classical sense, and treating it as equivalently rigorous evidence of a causal or statistically validated relationship overstates what was actually established — the model was validated on predictive accuracy, not on the truth of any individual internal weight.
Related concepts
Practice in interviews
Further reading
- Breiman, Statistical Modeling: The Two Cultures (2001)
- Efron & Hastie, Computer Age Statistical Inference, ch. 1