Independent T-Test, Because I. There Are Two Group of Data Samples, Ii. Two Independent Sample Means
Independent T-Test, Because I. There Are Two Group of Data Samples, Ii. Two Independent Sample Means
Independent T-Test, Because I. There Are Two Group of Data Samples, Ii. Two Independent Sample Means
INSTRUCTIONS: Solve the problems using manual calculation first. Repeat using Excel and
finally use SPSS. Submit your solutions in hard copy form to my pidgeon hole by the 29th
of November 2017.
1. A research study was conducted to examine the differences between older and younger
adults on perceived life satisfaction. A pilot study was conducted to examine this
hypothesis. Ten older adults (over the age of 70) and ten younger adults (between 20
and 30) were given a life satisfaction test (known to have high reliability and validity).
Scores on the measure range from 0 to 60 with high scores indicative of high life
satisfaction; low scores indicative of low life satisfaction. The data are presented below.
Is there a difference between older and younger adults on perceived life satisfaction?
1|Page
d. What probability level did you choose and why?
.05 significance level or 90% confidence level (0.1/2), accepting that this has a greater
degree of uncertainty than 95% or 99%.
Older Adults, x Younger Adults, y x-x bar (x-x bar)2 y-y bar (y-y bar)2
45 34 0.5 0.25 5.9 34.81
38 22 -6.5 42.25 -6.1 37.21
52 15 7.5 56.25 -13.1 171.61
48 27 3.5 12.25 -1.1 1.21
25 37 -19.5 380.25 8.9 79.21
39 41 -5.5 30.25 12.9 166.41
51 24 6.5 42.25 -4.1 16.81
46 19 1.5 2.25 -9.1 82.81
55 26 10.5 110.25 -2.1 4.41
46 36 1.5 2.25 7.9 62.41
445 281 678.5 656.9
x bar = 44.5 y bar = 28.1
2|Page
2.101 4.259
Reject Ho
- There is a statistically significant difference on life satisfaction between
older and younger adults
2. A teacher claims that his Science Module will increase students’ science knowledge by
an average of 31 points. You randomly select 8 students from your school and let them
use the Module for one semester and test their science knowledge. You get the
following science knowledge scores:
Science knowledge: 30 28 32 26 33 25 28 30
Does the actual science knowledge for these students deviate significantly from 31
(alpha = .05)?
3|Page
e. What is your tcrit?
df = n-1
=7
tcrit = 1.895
S = √∑ (x-x bar)2
n-1
= √54/7
= √7.71
= 2.777
t = x bar - µ
S/√n
= 29-31
2.777/√8
= -2
2.777/2.828
= -2
2.777/2.828
= -2
0.982
= -2.037
4|Page
Reject H1, accept Ho: µ < 31
Science Module will not increase students’ science knowledge by an average
of 31 points
Control over Plant, x No Control over Plant, y x-x bar y-y bar (x-x bar)2 (y-y bar)2
23 35 6.4 7.94 40.96 63.04
12 21 -4.6 -6.06 21.16 36.72
6 26 -10.6 -1.06 112.36 1.12
15 24 -1.6 -3.06 2.56 9.36
18 17 1.4 -10.06 1.96 101.2
5 23 -11.6 -4.06 134.56 16.48
21 37 4.4 9.94 19.36 98.8
18 22 1.4 -5.06 1.96 25.6
34 16 17.4 -11.06 302.76 122.32
10 38 -6.6 10.94 43.56 119.68
23 23 6.4 -4.06 40.96 16.48
14 41 -2.6 13.94 6.76 194.32
19 27 2.4 -0.06 5.76 0.0036
23 24 6.4 -3.06 40.96 9.36
8 32 -8.6 4.94 73.96 24.4
249 406 849.6 838.89
x bar = 16.6 y bar = 27.06
5|Page
Independent t-test, because there are two sets of data sample, control and
non-control
Sx = √∑ (x-x bar)2
n-1
=√849.6
14
= 7.79
Sx2 = 60.69
Sy = √∑ (y-y bar)2
n-1
=√838.89
14
= 7.74
Sy2 = 59.92
Tcrit = n+n-2 = 28
= 1.701
= 14 (60.69) + 14 (59.92)
28
6|Page
= 849.66 + 838.88
28
= 60. 31
t = 16.6 – 27.06
√60.69 + 59.92
15 15
Patients with control over a plant had significantly fewer health complaints
than patients with non-control over the care of the plant (t = -3.691, p < .01)
4. Suppose you wish to test the effect of Prozac (a medication for depression) on the well-
being of depressed students, using a standardised "well-being scale" that sums Likert-
type items to obtain a score that could range from 0 to 20. Higher scores indicate
greater well-being (that is, Prozac is having a positive effect). Do students feel less
depressed after taking Prozac?
7|Page
a) What is the most appropriate t-test to use and why?
Paired sample t-test because there is only one group of sample with two
sets of data (pre and post-test)
Df: n-1
= 9-1
t crit @.05 =8
= 1.8595
T= ∑d
Reject Ho
N
∑d2 – ( ∑d)2
N
N (N-1)
= 3.667
√219 - 121
72
= 3.667
√1.361
8|Page
= 3.145
9|Page