Used when two related measurements are taken on the same sample population. Evaluates whether the mean difference between the paired observations is significantly different.
Let each pair have values (X1,X2)(X_1, X_2)(X1,X2). Suppose di=X1i−X2id_i = X_{1i} - X_{2i}di=X1i−X2i.
Under H0H_0H0 with ν=n−1\nu = n - 1ν=n−1: