Test statistic (source code)

= Test statistic
{wiki}

A <test statistic> is a measurable function of the sample whose observed value is compared with a <null distribution> or resampling distribution to decide whether to reject a hypothesis.