A hypothesis test is a structured way to evaluate claims about a population using sample data. The framework pits a null hypothesis against an alternative , computes a test statistic from the data, and compares it to a reference distribution under .
The standard recipe:
1. Specify and . 2. Choose a significance level — usually . 3. Compute the test statistic and its -value. 4. Reject if .
A canonical example: the two-sample -test for a difference in means uses
compared to a -distribution with the appropriate degrees of freedom.
In trading, hypothesis tests are everywhere — A/B comparisons of execution algorithms, signal strength tests, alpha decay studies. Note that financial data is heavy-tailed and serially dependent, so vanilla -tests can be misleading. Robust standard errors, block bootstrap, and stationary corrections become important in practice.