Read · 2 min
T-Test
A t-test is commonly used to determine whether the mean of a population significantly differs from the mean of another population.
The t-score is the difference between two groups divided by the difference within the groups
The t-score is very similar to the z-score if you are familiar with that, except z-scores are used only for normal "symmetrical/bell-shaped" distributions while t-scores can be used for non-normal distributions.
The t-score formula is:
Such that:
= sample mean
= population mean or hypothesized value (value being compared to in null hypothesis statement)
= sample standard deviation
= sample size
How it may be written slightly differently to help tackle different kinds of t-tests such as one-sample and two-sample t-tests. But do not be afraid! These other formulas will be introduced in step-by-step solutions in their respective sections.
- A high magnitude t-score tells you that the groups are different.
- A low magnitude t-score tells you that the groups are similar.
A t-value of 0 or below some chosen critical value indicates that the sample results exactly equal the null hypothesis and there is no significant difference between the two group means and hence we would fail to reject the null hypothesis.
As the magnitude of the t-value increases and surpasses our chosen critical value, the difference between the sample data and the null hypothesis increases and hence we would reject the null hypothesis.
Note: We cannot "accept the null hypothesis" ever. Hypothesis tests can only determine whether or not be can reject or fail to reject the null hypothesis.
t-tests can be either:
- one-tailed or two-tailed
- one-sample or two-sample
You will need to be able to identify whether your t-test has 1 or 2 tails, and 1 or 2 samples based on the wording of your problem in order to create your hypothesis statements accurately.
Hit "Continue" for a table with hypothesis statements for each condition
one-sample:
(two-tailed)
(upper-tailed)
(lower-tailed)
two-sample:
(two-tailed)
(upper-tailed)
(lower-tailed)
Such that:
is the value you are comparing the mean to (aka comparison value)
and are your group means
