In least-squares adjustment, the $\chi^2$ (global model) test checks the stochastic model by comparing the observed variance factor $\hat{\sigma}_0^2$ (from residuals) with the a priori variance factor $\sigma_0^2$ via
\[
\chi^2=\frac{v^\top P v}{\sigma_0^2} \text{with }\ \chi^2_{\nu,\alpha}\ \text{bounds, } \nu=\text{dof}.
\]
If the statistic lies outside the acceptance region, the model is rejected—typically indicating gross errors/blunders or an incorrect noise model. Hence, it is used to test for the presence of gross errors.