Lesson 8 T Test On Two Sample Means
Lesson 8 T Test On Two Sample Means
Testing: T-Test on
Two Sample
Means
Lesson Objectives
At the end of the lesson, students should be able
to:
• Understand the concept of hypothesis testing
for two sample means.
• Identify the assumptions of the t-test for two
independent samples with equal variances.
• Solve problems involving hypothesis testing
for two sample means.
T-Test for Two Sample Means
Hypothesis testing for two sample means is used to
determine if there is a statistically significant
difference between the means if two independent
groups. When the population variances are assumed
to be equal, we use the pooled variance to estimate
the common variance.
Assumptions for T-Test for Two Sample
Means
1. Independence - the two samples are randomly
selected and independently assigned to groups.
2. Normality - the populations from which the
samples are drawn are normally distributed.
3. Equal Variances - the variances of the two
populations are equal. (to use a pooled t-test)
T-Test for Two Sample Means
ഥ𝟏 − 𝒙
𝒙 ഥ𝟐 - the mean values of the sample groups 1 and
(Pooled T-test) 2
ഥ𝟏 − 𝒙
𝒙 ഥ𝟐 𝒔𝟏 − 𝒔𝟐 - the sample variance of the sample groups 1
𝒕= and 2
𝟏 𝟏 𝒏𝟏 − 𝒏𝟐 - the sample population of groups 1 and 2
𝒔𝒑 +
𝒏𝟏 𝒏𝟐 𝒔𝒑 - the pooled standard deviation, calculated as:
𝟐 𝟐
𝒏𝟏 − 𝟏 𝒔𝟏
+ 𝒏𝟐 𝒔 𝟐
𝒔𝒑 =
𝒏𝟏 + 𝒏𝟐 − 𝟐
Recall: Hypothesis Testing Procedure
Group 1 Group 2
𝑥1ҧ = 85 𝑥ҧ2 = 80
𝑠1 = 5 𝑠2 = 6
𝑛1 = 10 𝑛2 = 12