T Test Formula Correlation. The student s t test is shown below. T x μ s n t 74 78 3 5 10 t 3 61.
Computational formula for paired samples t test calculation of the se d for the correlated samples t test requires finding the pearson product moment correlation r 12 between the two sets of scores. Satisfaction rating of school type school type satisfaction rating of school pearson correlation 1 728 sig. Corrttest r size tails the p value of the one sample test of the correlation coefficient using theorem 1 where r is the observed correlation coefficient based on a sample of the stated size.
In this formula t is the t value x1 and x2 are the means of the two groups being compared s2 is the pooled standard error of the two groups and n1 and n2 are the number of observations in each of the groups.
Satisfaction rating of school type school type satisfaction rating of school pearson correlation 1 728 sig. The formula for the two sample t test a k a. Again like the null and alternative hypotheses the formula for computing the t is identical to the formula used in the two independent groups situation. Calculate the correlation coefficient r for x and y as above using the data in example 2 of two sample t test with equal variances and then test the null hypothesis h 0.