Tutorial 8 Exercise Psych 201
Tutorial 8 Exercise Psych 201
Tutorial 8 Exercise Psych 201
Instructions:
Read the questions listed below, and then, with these questions in mind, read
“Tutorial 8” (pp. 143-164) from Tredoux and Durrheim (2019).
Then, attempt to answer the questions below.
You must upload a copy of this tutorial exercise in MS Word format to
moodle@ukzn by 14h00 on Thursday 11 May 2023.
1
Psychology 201 Tutorial 8 exercise: Hypothesis testing – the t-test
The t-test is used to determine whether the means of two samples are sufficiently
different to conclude that they are in fact draw from two distinct populations, or
whether the scores suggest that both samples come from a single population.
Therefore, the t-test is used to compare two estimated population means.
Imagine three possible situations (see Figures 1, 2, and 3 below) with two normal
distributions (Sample “A” and Sample “B”) – see below (the means of each normal
distribution are denoted by the dotted vertical lines).
Q 1. Which of the above figures is most likely to show two sample means (“A” and
“B”) that come from the same population? [1]
FIGURE 3
Q 2. Which of the above figures is most likely to show two sample means (“A” and
“B”) that come from two different populations? [1]
FIGURE A
Sample means are not exact representations of the population mean, but differ
slightly, on average, by an amount indicated by the standard error – the standard
deviation of the sampling distribution of the mean. The variation in sampling
means is the reason we cannot simply look at the sample means when we want to
see how population means differ.
The t-test allows us to determine the degree to which two distributions overlap by
taking into account the distance between the means of the distributions, and also
considering the width of the distributions (their variances).
�−�
The general form of the t-equation (� = � ) is very similar to the z-equation
n
�−�
(� = � ).
n
2
Psychology 201 Tutorial 8 exercise: Hypothesis testing – the t-test
Q 4. In order to do a t-test, your data should meet certain assumptions. In the table
below, the four assumptions of t-tests are identified. Fill in the descriptions in
the three empty cells below. [3] (no description is needed for how to test for
independence)
t-test
How can you test the
assumption Description
assumption?
of . . .
ALL SAMPLES THA YOU ARE Formal tests;
ANALYSIS HAVE BEEN Consider the skewness and
DRAWN FROM kurtosis coefficients;
POPULATIONS THAT ARE Draw a histogram and
normality NORMALLY DISTRIBUTED examine the shape of the
distribution (if bell shaped,
then the data is probably
normally distributed)
Each participant only provides
independence one score (with the exception
of a repeated measures).
No scores should be drastically USE BOXPLOTS AND
no significant
different from the rest SCATTER PLOTS TO TEST
outliers
THE ASSUMPTION
THE Levene’s test of homogeneity
POPULATIONVARIATIONSOF of variance
TWO OR MORE SAMPLES Check if variances differ by a
ARE CONSINDERED EQUAL factor of less than 4. If the
homogeneity of difference if less than 4, then
variance the variances are homogenous
enough. Basically you divide
the larger variance by the
�21
smaller variance (� = )
�22
3
Psychology 201 Tutorial 8 exercise: Hypothesis testing – the t-test
There are three sub-types of t-tests. Examine the flowchart below which depicts
the steps you could follow to choose which t-test to use.
If you are comparing a population mean to a sample mean, then use a one-sample
t-test. However, if you are comparing two sample means, you first need to ask
yourself if the two means come from the same sample. If the two means come
from the same sample (e.g., you tested your sample twice on a measure), you
should then use a repeated-measures t-test to compare your sample means.
However, if your two means come from two different samples (e.g., men and
women), you then first need to check whether the variances of the two groups
differ by a factor of more than 4. In other words, you need to calculate if the
variance of one group is more than 4 times the variance of the other group. If the
two variances differ by more than a factor of 4, you should use an independent
samples t-test with separate variances. However, if the two variances differ by a
factor of less than 4, then you should use an independent samples t-test with
pooled variance estimates.
4
Psychology 201 Tutorial 8 exercise: Hypothesis testing – the t-test
Q 5. Choose and write out the correct null and alternative hypotheses. (3)
�0 : �1 ≠ �2 � 0 : �1 = �2
a b
�1 : �1 > �2 � 1 : �1 ≠ �2
c
�0 : �1 = �2 d
� 0 : �1 = �2
�1 : �1 > �2 � 1 : �1 < �2
Q 6. Because the researchers do not know the population standard deviation for
how much daily housework British men do, they cannot determine a z-score
(zcalc), which they could then use to assess whether their sample mean for
British women falls within the rejection region or not (see Tutorial 7). The
researchers therefore need to use a t-test. Because the researchers are
comparing their sample mean of British women to a population mean (of
British men), a one-sample t-test is needed (see the flowchart above). As
indicated earlier in Tutorial 8, the formula for the general t-test (and the one-
�−�
sample t-test) is � = � . Using this formula, calculate t (tcalc). (3)
�
tcalc
�−�
�= �
�
180 − 100
�=
20
100
80
�=
2
t = 40
5
Psychology 201 Tutorial 8 exercise: Hypothesis testing – the t-test
Q 7. Calculating the critical value for t (tcrit), against which the researchers can then
compare their t-value (tcalc), depends on the degrees of freedom (df).
Calculate the degrees of freedom for this sample. [1]
df =N-1
=100-1
=99
Q 8. Are the researchers using a one-tailed or a two-tailed test and why? [2]
ONE TAILED TEST ,THE ALTERNATIVE HYPOTHESIS IS DIRECTIONAL ,KT
CLAIMS THATH WOMEN DO MORE DAILY HOUSEWORK THAN BRITISH MEN
Q 9. Using an alpha of 0.05, your degrees of freedom, and the t-table (Table A1.2
in Appendix 1 of your statistics textbook), determine the critical t-value (tcrit). [1]
tcrit = 1,6602
Q 10. We now need to decide whether to reject the null hypothesis or not. We do
this by comparing tcrit with tcalc to determine whether tcalc falls within the
rejection region. Use the table below to come to a decision whether to reject
the null hypothesis or not. [2]
Rewrite tcrit 1,6602
Rewrite tcalc 40
Does tcalc fall in the rejection region? YES
Delete the incorrect statement We reject the null hypothesis.
What conclusion can we make? BRITHISH WOEM DO MORE DAILY
HOUSEWORK THAN BRITISH MEN
Q 11. Choose and write out the correct null and alternative hypotheses. (3)
a
�0 : �1 ≠ �2 b
� 0 : �1 = �2
�1 : �1 > �2 � 1 : �1 ≠ �2
�0 : �1 = �2 � 0 : �1 = �2
c d
�1 : �1 > �2 � 1 : �1 < �2
6
Psychology 201 Tutorial 8 exercise: Hypothesis testing – the t-test
Q 12. Why would the researcher use an independent samples t-test to find whether
there is a difference in maths results between 15-year-old boys and 15-year-
old girls? [1]
THE INDEPENDENT SAMPLES T TEST IS USED TO FIND A DIFFERENCE
BETWEEN THE MEANS OF TWO INDEPENENT VARIABLES
Q 13. Calculate � to determine if the variances of the maths scores for the boys and
girls are homogenous. [2] (round off to two decimal places)
�21
�= 2
�2
75,22
�=
73
� = 1.03
Q 14. Your answer to the question above should be below 4, which means your
variances are homogenous. You should therefore use the pooled variance of
the two samples when calculating the standard error. Calculate the pooled
variance of the two samples. [3] (round off to three decimal places)
2 2
�1 − 1 �1 + �2 − 1 �2
�2� =
(�1 + �2 − 2)
8725,52 + 8979
�2� =
239
�2� = 74.077
7
Psychology 201 Tutorial 8 exercise: Hypothesis testing – the t-test
Q 15. Now using the formula (Equation 8.6) for an independent samples t-test with
pooled variance estimates, calculate t (tcalc). [3]
�1 − �2
�=
1 1
�2� +
�1 �2
54,34 − 60,25
�=
1 1
74,077 +
117 124
−5,91
�=
241
74,077
14508
t = -5,327
Q 16. Calculating the critical value for t (tcrit), against which the researcher can then
compare her t-value (tcalc), depends on the degrees of freedom (df). Calculate
the degrees of freedom for these two samples. [1]
df = (N1+N2-2)
=117+124-2
=239
Q 18. Using an alpha of 0.01, your degrees of freedom, and the t-table (Table A1.2
in Appendix 1 of your statistics textbook), determine the critical t-value (tcrit). [1]
tcrit = 2,6259
Q 19. We now need to decide whether to reject the null hypothesis or not. We do
this by comparing tcrit with tcalc to determine whether tcalc falls within the
rejection region. Use the table below to come to a decision whether to reject
the null hypothesis or not. [2]
Rewrite tcrit 2,6259
Rewrite tcalc -5,327
Does tcalc fall in one of the rejection NO
regions?
Delete the incorrect statement We reject the null hypothesis.
8
Psychology 201 Tutorial 8 exercise: Hypothesis testing – the t-test