2.4 The t-statistic

Until now, we’ve assumed that we knew the population variances of height among men, σ2men, and among women, σ2women. With this knowledge we can calculate the standard error, σ2mennmen+σ2womennwomen, which allows us to calculate Z-scores, accompanying p-values, and confidence intervals. In practice, however, we don’t know these population variances and have to estimate it based on the data. The estimators, naturally, are the variances in our samples: s2=1n1ni=1(xiˉx)2.

The estimator for the standard error, σ2mennmen+σ2womennwomen, becomes:

important: equal variances assumed or not?