PSY1004 Session 09
PSY1004 Session 09
Session 9
1
Hypothesis testing (the previous session’s example)
Productivity of flextime workers
Hypothesized mean: 193.8
Sample mean: 202.94 -1.96 1.96
Probability
density
(source:
Hatcher)
Critical value 3
One-sample t test
• Testing whether the mean of a population represented
by a sample (mean = M; size = N) differs from a
hypothesized value (), when the population’s SD is
unknown and needs to be estimated as the sample’s
SD (s)
• The test statistic (t score) is (M
– ) / [ s/SQRT(N)]
• This test statistic should be
evaluated using the t-
distribution for the
appropriate df (= N - 1).
4
One-sample t test
(an example from Howell)
JAMOVI
output
This p value corresponds to the probability of observing the test statistic value (1.193)
or a more extreme value if the null hypothesis is true.
1.193 7
Statistical significance
• If the p value of the sample’s test statistic is no more than alpha (), i.e., the test
statistic is in the region of rejection:
the null hypothesis is rejected
the results are statistically significant; the research hypothesis is supported
• If the p value of the sample’s test statistic is more than alpha (), i.e., the test
statistic is in the region of non-significance:
the null hypothesis is not rejected (but not “accepted” either)
the research hypothesis is not supported by the results.
8
Matched samples t test (example)
This test compares the means of two matched samples (i.e., of
the same/equivalent individuals)
Example
A study examining whether participants with anorexia gain weight after
going through a treatment program:
• Null hypothesis (Ho): Pre-program mean = post-program mean
• Research hypothesis (H1): Pre-program mean post-program mean
9
Matched samples t test (example)
• The pre-program and post-program scores can be transformed
to one set of scores by taking the difference score (or gain
score) for each individual
• The null hypothesis (Ho) will become: If Ho is true, how likely a
mean of the difference scores = 0 sample mean difference
score as large as 7.26
would have turned out?
Weight gain (in lb)
10
Matched samples t test (example)
• If Ho is true, the t score of the sample mean
difference score = (M – ) / [ s/SQRT(N)]
The mean and SD
of weight gain are
7.265 and 7.157
= 7.265 / [ 7.157 / SQRT (17) ] = 4.185 respectively
12