Group 8 (Semblante, Lague, Peras, Rama) T-Test: Value
Group 8 (Semblante, Lague, Peras, Rama) T-Test: Value
T-TEST
● Type of inferential statistics.
● Used to determine whether the means of two groups are statistically different from each
other and is often used in hypothesis testing.
● Is a parametric test of difference - implies that it makes the same assumptions about
data as other parametric tests.
● Assumes data as:
○ Independent
○ (Approximately) normally distributed
○ Have a similar amount of variance within each group being compared.
(Homogeneity of variance)
● T-Score - the ratio between the difference between two groups and the difference within
the groups. The smaller the T score, the more similarity there is between groups.
○ A large t-score implies that the groups are different
○ A small t-score implies that the groups are similar.
Types of T-Test
There are three main types of t-test, which are categorized into one-sample and two-sample
techniques, namely:
When choosing a type of t-test to utilize, you will need to consider whether the groups being
compared come from a single population or two different populations, and whether you want to
test the difference in a specific direction.
Performing a T-Test
A. One Sample Technique
● One Sample T-Test
- where x bar is the sample mean, s² is the sample variance, n is the sample size, µ is the
specified population mean and t is a Student t quantile with n-1 degrees of freedom.
Example :
Consider 20 first year resident female doctors drawn at random from one area, resting systolic
blood pressures measured using an electronic sphygmomanometer were:
128 127
118 115
144 142
133 140
132 131
111 132
149 122
139 119
136 129
126 128
From previous large studies of women drawn at random from the healthy general public, a
resting systolic blood pressure of 120 mm Hg was predicted as the population mean for the
relevant age group.
Df (n-1) = 19
t = 4.512404 or 4.512
t crit = 2.093
Therefore, the t score of the systolic BP among 20 first year resident female doctors is
4.512 with a resting systolic blood pressure of 120 mm Hg was predicted as the
population mean for the relevant age group.
A null hypothesis of no difference between sample and population means has clearly
been rejected.
Example :
Calculate an independent samples t test for the following data sets:
A: 1 + 2 + 2 + 3 + 3 + 4 + 4 + 5 + 5 + 6 = 35
35 = 1225
50 = 2500
B: (1 + 2 + 4 + 5 + 5 + 5 + 6 + 6 + 7 + 9) = 50/10 = 5
Step 4: Square the individual scores and then add them up:
A: 11 + 22 + 22 + 33 + 33 + 44 + 44 + 55 + 55 + 66 = 145
B: 12 + 22 + 44 + 55 + 55 + 55 + 66 + 66 + 77 + 99 = 298
Step 5: Insert your numbers into the following formula and solve:
Step 7: Look up your degrees of freedom (Step 6) in the t-table. If you don’t know what your
alpha level is, use 5% (0.05).
Step 8: Compare your calculated value (Step 5) to your table value (Step 7).
The calculated value of -1.79 is less than the cutoff of 2.10 from the table. Therefore t crit >
-1.79. As the t crit is greater than the t-score , we cannot conclude that there is a difference
between means.
● Paired Sample T-Test / Dependent T-Test
Example :
Suppose a sample of n students were given a diagnostic test before studying a particular
module and then again after completing the module. We want to find out if, in general, our
teaching leads to improvements in students’ knowledge/skills (i.e. test scores). We can use the
results from our sample of students to draw conclusions about the impact of this module in
general.
Let x = test score before the module, y = test score after the module
To test the null hypothesis that the true mean difference is zero, the procedure is as follows:
NOTE : For this test to be valid the differences only need to be approximately normally
distributed. Therefore, it would not be advisable to use a paired t-test where there were any
extreme outliers.
Example
Using the above example with n = 20 students, the following results were obtained
Sd = √ ∑(41−2.05)2
20
= 2.837
t= 3.231
t crit = 2.093
The calculated value of 3.231 is greater than the cutoff of 2.093 from the table. As the t crit is
less than the t-score , then t is in the critical region.
- If the absolute value of the t-test statistics (t) is greater than the critical value, then the
difference is significant. Otherwise, it is not.
Note: The t-test can be used only when the data are normally distributed
- If the absolute value of the t-test statistics (t) is greater than the critical value, then the
difference is significant. Otherwise, it is not.
Note: The test can be used only when the two groups are samples (A and B) being
compared follow bivariate normal distribution with equal variances
- If the absolute value of the t-test statistics (t) is greater than the critical value, then the
difference is significant.
Note: The test can be used only when the difference d is normally distributed.
The basic format for reporting the result of a t-test is the same in each case (The color blue
means you substitute in the appropriate value from your study