Paired T Test Statistic Formula. The t value with α 0 05 and 15 degrees of freedom is 2 131. The test statistic is calculated as.
N is the sample size i e size of d. The test statistic is calculated as. Compare the average difference to 0.
Where d bar is the mean difference s is the sample variance n is the sample size and t is a student t quantile with n 1 degrees of freedom.
M and s are the mean and the standard deviation of the difference d respectively. Type i error occurs when we reject a true null hypothesis and the type ii error occurs when we fail to reject a false null hypothesis. T d ˉ s d n. μ1 μ2 the two population means are equal h1.