- Home
- Appointment Information
- Workshops
- Information for Staff
- Stats ResourcesToggle Dropdown
- Stats with SPSS
- Independent-Samples t-Test
- Paired-Samples t-Test
- Mann Whitney U-Test
- Wilcoxon Signed-Ranks Test
- One-Way Between-Subjects ANOVA
- One-Way Repeated-Measures ANOVA
- Two-Way Mixed ANOVA
- One-Way Between-Subjects ANCOVA
- Kruskal Wallis H-Test
- Friedman's ANOVA
- Pearson's 'r' Correlation
- Spearman's Rho Correlation
- Simple Linear Regression
- Multiple Linear Regression
- Chi-Squared (χ2) Test of Association
- Shapiro-Wilk Test of Normality
- Cronbach's Alpha

- Stats with RToggle Dropdown
- Stats with JamoviToggle Dropdown
- Maths ResourcesToggle Dropdown
- Numeracy ResourcesToggle Dropdown
- Stats/Maths Software
- A-Z of Terminology
- Meet the Team

An independent-samples t-test compares the means between two unrelated groups, such as comparing the difference between class 1 and class 2, another very common example would be used to compare a binary gender difference.

If you have three or more groups consider using a **One-Way Between-Subjects ANOVA**

It is considered a parametric test and is only suitable for parametric data. To check if your data is parametric, please read our dedicated guide: **Parametric or Not Guide (PDF)**

If your data is non-parametric you should consider using a **Mann-Whitney U-Test**.

- Click Analyze > Compare Means > Independent-Samples T Test
- In the "Independent-Samples T Test" box, select the test variable (dependent variable) you are analysing and move it to the "Test Variable(s)" box. Then move your grouping variable (independent variable) into the “Grouping Variable” box.
- Click "Define Groups..." and specify the groups you are going to test. In this example I am testing Class 1 against Class 2 therefore my groups are numbered 1 and 2.
- Click "Continue" and then "OK".

SPSS will generate three tables, for this test we need to read from: "Group Statistics" and "Independent Samples Test".

This table shows a selection of descriptive statistics: the sample size of each group (N), the mean of each group (Mean), and the standard deviation of each group (Std. Deviation), these are typically all reported.

This table shows the specific test results including the t-statistic (t), the degrees of freedom (df) the two-tailed significance or p-value (Two-Sided p), the mean difference between the groups (which we report below using *d̄*), and the 95% Confidence Interval (95% Confidence Interval of the Difference).

*M *= 6.31, *SD* = 1.71) scored higher than class 2 students (*M* = 4.63, *SD *= 2.16). An independent-samples t-test indicated this difference, *d̄ = *1.69, 95%*CI* [0.28, 3.09], was statistically significant, *t *(30) = 2.45, *p *=.020.

- Last Updated: Apr 12, 2024 5:49 PM
- URL: https://guides.library.lincoln.ac.uk/mash
- Print Page

© University of Lincoln