SPSS 4
SPSS 4
SPSS 4
Professor
Ameer Kadhim Hussein
M.B.Ch.B (FICMS. COM)
Comparing two independent
samples
A two-sample t-test is a parametric test used to estimate whether
the mean value of a normally distributed outcome variable is
significantly different between two groups of participants.
This test is also known as a Student’s t-test or an independent
samples t-test.
Two-sample t-tests are classically used when the outcome is a
continuous variable and when the explanatory variable is binary.
For example, this test would be used to assess whether mean
height is significantly different between a group of males and a
group of females.
Study design
Two-sample t-tests can be used to analyze data
from any type of experimental or non-
experimental study design where the
explanatory variable can be classified into two
groups, for example, males and females, cases
and controls, and intervention and non-
intervention groups.
Two-sample t-tests
Levene’s test of equal variances
In the Independent Samples Test table, the first
test is Levene’s test of equal variances.
A P value for this test that is less than 0.05
indicates that the variances of the two groups
are significantly different and therefore that the
t statistics calculated assuming variances are
not equal should be used.
If P value more than 0.05 use assuming equal
variances.
Mann–Whitney U test
The non-parametric test that is equivalent to a
two-sample t-test is the Mann–Whitney U test.
The Mann–Whitney U test is based on the
ranking of measurements from two samples to
estimate whether the samples are from the
same population.
In this test, no assumptions are made about the
distribution of the measurements in either
group.
Mann–Whitney U test
Paired t-test
A paired t-test is used to estimate whether the means of two
related measurements are significantly different from one
another.
This test is used when two continuous variables are related
because they are collected from the same participant at
different times, from different sites on the same person at the
same time.
Examples of paired study designs are
Measurements collected before and after an intervention in an
experimental study.
Differences between related sites in the same person, for
example limbs, eyes or kidneys.
Paired t-test
Paired t-test
Non-parametric test for paired data