The reason has a t-distribution is because the numerator is a normal distribution while the parameter in the denominator is replaced by the estimator . This estimator is derived from , so it has a square root of a chi-squared distribution. The degrees of freedom (n – p – 1) for this t-distribution come from the standard error estimate in the denominator.