Independent Sample T Test
Independent Sample T Test
Definitions
• 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.
• Used to assess whether two mean values are similar enough to have come from
the same population or whether their difference is large enough for the two groups
to have come from different populations.
• 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 (e.g. drug treatment group vs. placebo group), they may be naturally
occurring (e.g. male vs. female), or they might be beyond the control of the
experimenter (e.g. depressed people vs. healthy people).
• scores are compared between the two groups (the independent variable).
Definitions
• An approximate formula for calculating a t value , when variances are equal is:
With df = n1 + n2 - 2
Definitions
• An approximate formula for calculating a t value , when variances are not
equal is:
Assumptions
• The assumptions that must be satisfied to conduct a two-sample t-test are:
1. The groups must be independent, that is, each participant must be in one group only.
2. The measurements must be independent, that is, a participant’s measurement can
be included in their group once only.
3. The outcome variable must be on a continuous (interval or ratio) scale.
4. The outcome variable must be normally distributed in each group.
5. The variances between groups are approximately equal, that is, homogeneity of
variances (if data fail this assumption an adjustment to the t value is made).
One- and two-sided tests of significance
• When a hypothesis is tested, it is possible to conduct a one-sided (one-tailed) or a
• two-sided (two-tailed) test.
• A one-sided test is used to test an alternative hypothesis of an effect in only one
direction (i.e. mean1 > mean2 or mean1 < mean2).
• A two-sided test is used to test an alternative hypothesis of whether one mean value is
smaller or larger than another mean value (i.e. mean1 ≠ mean2). That is, there is a
difference in either direction between the two populations from which the samples were
selected.
• When a one-sided test is used, the 5% rejection region is placed only in one tail of the
distribution.
• for a two-sided test, 2.5% of the rejection region is placed in the positive tail of the
distribution (i.e. mean1 > mean2) and 2.5% is placed in the negative tail (i.e. mean1 <
mean2).
One- and two-sided tests of significance
Leven’s test
To check wither or not
we have an equal
variances
Dependent variable
(Quantitative)