Professional Documents
Culture Documents
Module 3 Paired and Two Sample T Test
Module 3 Paired and Two Sample T Test
Module 3 Paired and Two Sample T Test
Paired t-Test/ t-Test for Dependent Samples and Two Sample t-Test
LEARNING OUTCOMES
General Objectives
The purpose of this module is to familiarize students to Paired t-test and Two
Sample t-Test using Data Analysis ToolPak
Specific Objectives
As a result of this lesson, students will be able to:
1. Identify the difference between the Paired t-test and Two sample t-test on the
problem and data presented.
2. Perform how to use Data Analysis ToolPak in analyzing data with Paired and Two
Sample t-test
3. Explain and interpret the results of the data analysis.
Test Statistics and Critical Value Method P-value and Alpha Method
Reject the null hypothesis. Reject Ho if the Reject the null hypothesis. Reject Ho
test statistic is greater than the critical value if p-value where is the significance
level.
Fail to reject the null hypothesis. If the Fail to reject the null hypothesis. Fail
computed test statistic is less than or equal to reject Ho if
to the critical value p-value .
LET’S TRY
At the start of the school year, a teacher identified the fifteen (15) students in her
class with the lowest grade in Mathematics in the previous year level. She wanted
to give remedial lessons to these students to improve their performance in
Mathematics. She design a remedial mathematics program and developed a test
composed of 50 items to measure mathematics performance. She administered the
Pre-test to the fifteen (15) students before giving them the remedial lessons. Then,
she conducted a remedial lessons. After three weeks, she again administered the
post-test to the same students.
Paired t-Test /t-Test for a Dependent Sample and two-sample t-test
EXCEL VIEW
Encode the data using two columns, first column for the pretest result of students
and second column for the posttest result of students.
1. From the Tool bar, click Data\ Data Analysis\. t-Test Paired Two Sample for
Means
2. Click OK
3. Click in the Variable 1 Range Box and drag the Encoded Data in Variable 1
4. Click in the Variable 2 Range Box and drag the Encoded Data in Variable 2
5. Click in the Output Range and put the cursor in any cells you want to view the
result of your data analysis
6. Click OK
EXCEL GUIDE
From the Tool bar, click Data\ Data Analysis\t-Test Paired Two Sample for Means\ OK.
Figure 3.2 Data, Data Analysis, t-Test Paired Two Sample for Means
Paired t-Test /t-Test for a Dependent Sample and two-sample t-test
Figure 3.3 t-Test Paired Two Sample for Means Dialog Box
Click OK
Result
Note: Using. If the computed test statistic is greater than the critical value, the decision
would be “reject the null hypothesis” otherwise “Fail to reject”.
As shown the computed t-value (12.21) is greater than the critical value (2.14). Thus,
the decision is “reject the null hypothesis”. This shows that the performance in the posttest
is significantly higher than that of the pretest.
Reminder: Same result if you would prefer the probability value. A p-value that is smaller
than 0.05 would suggest that there is indeed a statistically significant difference (at the 5
% level).
It can be observe from the table that it was statistically found out that there is
significant difference between the performance in the pretest and posttest result of 15
students in a test in Mathematics Since the obtained P-value of .000 did not exceeds at
0.05 level of significance we can conclude that there is sufficient evidence to show that
there is a significant difference between the performance in the pretest from that of the
posttest., implying that the students performed better in the posttest, considering that the
mean score of 33.33 in the posttest is higher compared to the mean score of 19.00 in
the pretest .
Paired t-Test /t-Test for a Dependent Sample and two-sample t-test
Answer:
Summary: Using t-value and Critical Value
Mean Sd Mean df t- t-critical Ho VI
Difference value value
Pre- 17.10 10.20 3.70 9 1.81 2.26 FR NS
Evaluation
Post- 20.80 12.92
Evaluation
EXERCISE No. 1
The data below are those obtained for a group of 10 subjects on a choice-
reaction time experiment under stress and no stress condition. The problem
here is to test whether the means under the two conditions are significantly
different.α= 0.05
Students Stress No Stress
Ana 9 15
Carla 10 14
Jessa 4 9
Leah 15 12
Nica 6 8
Ashley 5 9
Mark 9 12
Abel 10 15
Joel 6 7
Josh 12 13
Paired t-Test /t-Test for a Dependent Sample and two-sample t-test
EXERCISE No. 2
EXERCISE No. 4
Paired t-Test /t-Test for a Dependent Sample and two-sample t-test
EXERCISE No. 3
Students Abby Kate Dona Oscar Joel Sam Mitch Jane Jona Joel
Pretest 3 8 12 14 12 8 5 7 9 11
Posttest 8 12 15 16 13 15 9 14 16 18
Students Abby Kate Dona Oscar Joel Sam Mitch Jane Jona Joel
Pretest 5 8 7 12 9 13 6 7 8 10
Posttest 7 10 10 15 14 18 12 10 13 15
Students Abby Kate Dona Oscar Joel Sam Mitch Jane Jona Joel
Pretest 5 9 8 8 6 10 7 10 9 12
Posttest 8 14 13 11 9 13 12 13 14 15
Students Abby Kate Dona Oscar Joel Sam Mitch Jane Jona Joel
Pretest 9 8 5 7 6 12 13 8 7 6
Posttest 10 8 6 9 6 12 15 9 9 9
Students Abby Kate Dona Oscar Joel Sam Mitch Jane Jona Joel
Pretest 9 11 10 8 7 13 10 10 9 8
Posttest 10 12 9 10 7 12 10 11 12 9
LET’S TRY
The following are the scores of 20 male and 20 female students in Mathematics test.
Test the null hypothesis that there is no significant between the scores of male
students and scores of female students in Mathematics test. α=0.05 level of
significance.
Let us try to simulate the analysis by encoding the data below.
EXCEL VIEW
Encode the data using two columns, first column for the Scores of Male students
and second column for the scores of female students.
1. From the Tool bar, click Data\ Data Analysis\. t-Test Two Sample Assuming
Equal Variances.
2. Click OK
3. Click in the Variable 1 Range Box and drag the Encoded Data in Variable 1
4. Click in the Variable 2 Range Box and drag the Encoded Data in Variable 2
5. Click in the Output Range and put the cursor in any cells you want to view the
result of your data analysis
6. Click OK
Paired t-Test /t-Test for a Dependent Sample and two-sample t-test
EXCEL GUIDE
From the Tool bar, click Data\ Data Analysis\t-Test Two Sample Assuming Equal
Variances\ OK.
Figure 3.2a Data, Data Analysis, t-Test Two Sample Assuming Equal Variances
Paired t-Test /t-Test for a Dependent Sample and two-sample t-test
Figure 3.3a t-Test Two Sample Assuming Equal Variances Dialog Box
Result
Note: Using. If the computed test statistic is greater than the critical value, the decision
would be “reject the null hypothesis” otherwise “Fail to reject”.
As shown the computed t-value (2.48) is greater than the critical value (2.02). Thus,
the decision is “reject the null hypothesis”. This shows that the scores of male students is
significantly higher than that of the scores of female students in Mathematics test.
Reminder: Same result if you would prefer the probability value. A p-value that is smaller
than 0.05 would suggest that there is indeed a statistically significant difference (at the
5 % level).
It can be observe from the table that it was statistically found out that there is
significant difference between the scores of male students and scores of female students
in Mathematics test, since the obtained P-value of .018 did not exceeds at 0.05 level of
significance we can conclude that there is sufficient evidence to show that there is a
significant difference between the scores of male students than that of female students.,
implying that the males students performed better than female students , considering
that the mean score male students of 13.55 is higher compared to the score of female
students of 10.25.
Paired t-Test /t-Test for a Dependent Sample and two-sample t-test
Answer:
Summary: Using t-value and Critical Value
Mean Sd Mean df t- t-critical Ho VI
Difference value value
Experimental 20.07 5.35 0.47 28 0.26 2.05 FR NS
Group
Control 19.60 4.36
Group
EXERCISE No. 1
Statistics test was administered to 14 boys and 15 girls, Test whether the girls differ
in their scores from that of the boys. Use α=0.05.
Boys Girls
22 20
18 18
25 23
26 19
18 17
13 16
8 21
18 23
15 15
13 9
24 20
20 18
18 21
17 23
17
Paired t-Test /t-Test for a Dependent Sample and two-sample t-test
EXERCISE No. 2
EXERCISE No. 3
Experimental 8 12 15 16 13 15 9 14 16 18
Control 7 9 10 13 14 10 8 12 11 16
Experimental 7 10 10 15 14 18 12 10 13 15
Control 6 12 11 13 15 13 14 9 14 12
Experimental 8 14 13 11 9 13 12 13 14 15
Control 10 9 12 10 7 8 10 9 8 11
Experimental 10 8 6 9 6 12 15 9 9 9
Control 8 9 9 12 13 15 12 14 13 12
Experimental 10 12 9 10 7 12 10 11 12 9
Control 10 13 10 9 9 13 12 12 14 10