Chapter 7
Chapter 7
5. Degrees of freedom (DF): for most purposes and tests (but not all), degrees of freedom roughly
equate to sample size. For a related t-test, DF are always 1 less than the number of participants. For an
independent t-test, DF are (n - 1) + (n - 1), so for a sample size of 20 (10 participants in each group) DF
= 18 (i.e. 9 + 9). For a within-participants design with sample size of 20, DF = 19. DF should always be
reported in your laboratory reports or projects, along with the t-value, p-value and confidence limits for
the difference between means. Degrees of freedom are usually reported in brackets, as follows: t (87)
= 0.78. This means that the t-value was 0.78, and the degrees of freedom 87.
Assumptions to be met in using
t-tests
• The t-test is a parametric test, which means that certain conditions about the distribution of the
data need to be in force: that is, data should be drawn from a normally distributed population of
scores. We assume this is the case if our sample scores are normally distributed. You can tell whether
your data are skewed by looking at histograms.
• The t-test is based on the normal curve of distribution.
• When we have different numbers of participants in the two groups, taking a simple average of the
two variances might be misleading because the formula would give the two groups equal
weighting, when in fact one group might consist of more participants. In this case we would use a
weighted average. The weighted average for the sample (called the pooled variance estimate) is
used in order to obtain a more accurate estimate of the population variance. If your data are
extremely skewed and you have very small participant numbers, you will need to consider a non-
parametric test
Related T-Test
The related t-test is also known as the paired t-test; these terms are interchangeable. The related t-test
is used when the same participants perform under both conditions.
• because each participant performs in both conditions, and so each participant can be tested against
him- or herself. If we have 20 people in a related design (20 people taking part in both conditions),
we would need 40 in an unrelated design (20 in each condition).
• If you compare an independent and related t-test using the same dataset, you will find that the
related t-test gives a result with a higher associated probability value – this is because the
comparison of participants with themselves gives rise to a reduced within-participants variance,
leading to a larger value of t
Summar
y
1. Confidence limits allow you to infer with a certain degree of confidence (usually 95%) that a
population mean (or difference between means) falls within a certain range. If we calculate
confidence intervals around our sample mean, we can get a good idea of how close it is to the
population mean.
2. d, an effect size, gives the magnitude of difference between two independent means, expressed in
standard deviations.
3. t-tests allow us to assess the likelihood of having obtained the observed differences between the
two groups by sampling error: for example, p = 0.03 means that, if we repeated our experiment 100
times using different samples, then assuming no real difference between conditions, we would
expect to find our pattern of results three times, by sampling error alone.
4. t-tests are suitable for data drawn from a normal population – they are parametric tests.