---
title: The Student's t-test for unpaired data
description: "\"\""
---

[Skip to content](https://help.easymedstat.com/support/solutions/articles/77000362978-the-student-s-t-test-for-unpaired-data#main-content)

English

Show submenu for translations

![](https://help.easymedstat.com/hs-fs/hubfs/Logo%20EMS%20HQ%20Noir-1.png?width=366&height=70&name=Logo%20EMS%20HQ%20Noir-1.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Open a ticket](https://t3jiy.share-eu1.hsforms.com/2pRawwxfuSS6Scx4Qn4KSPA)

[Open a ticket](https://t3jiy.share-eu1.hsforms.com/2pRawwxfuSS6Scx4Qn4KSPA)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [EasyMedStat Knowledge Base](https://help.easymedstat.com/?hsLang=en)
2. [Statistical analyses](https://help.easymedstat.com/statistical-analyses?hsLang=en)
3. [Statistical tests](https://help.easymedstat.com/statistical-analyses?hsLang=en#statistical-tests)

# The Student's t-test for unpaired data

# Definition

The Student's t-test is used to compare **two means from two independent groups**. The conditions of application for this test are : the data have to follow a normal distribution (usually the number of participants per group has to be \> 30) and the groups have to get similar variances.

# In practice

The Student's t-test is commonly used to compare the mean of a variable between two groups. For example, "pain score" mean difference between the groups "treated" versus "untreated". The groups need to be similar in variance, i.e. the two groups should have a similar repartition of the patients around the mean of the group. If this is not the case, the comparison risks to be unreliable. 

![](https://help.easymedstat.com/hubfs/Base%20de%20connaissances/ugz8nhzHiEQ96Ffz10kVW1ormkoGMUIwIg.png)It is easiest to compare the two curves on the left (no difference in variances) than the two curves on the rigth (difference in variances).

# How to use it on EasyMedStat ?

1. Go to Statistics \> Test variables
2. Select a Numeric variable
3. Select a Yes-No variable to create groups of patients
4. Click on "Which tests can I do ?"
5. Click on "Compare values of ..."

# See also

- <https://help.easymedstat.com/support/solutions/articles/77000408441-analysis-of-variance-anova-?hsLang=en>[The Student's paired test](https://help.easymedstat.com/support/solutions/articles/77000362978-the-student-s-t-test-for-unpaired-data?hsLang=en)
- [The Mann-Whitney's test](https://help.easymedstat.com/support/solutions/articles/77000401221-the-mann-whitney-s-test?hsLang=en)
- [The Welch's test](https://help.easymedstat.com/support/solutions/articles/77000401220-the-welch-s-test?hsLang=en)

- [Account](https://help.easymedstat.com/account?hsLang=en#main-content)

    - [Account](https://help.easymedstat.com/account?hsLang=en#account)
- [Collect data](https://help.easymedstat.com/collect-data?hsLang=en#main-content)

    - [Questionnaires (ePRO)](https://help.easymedstat.com/collect-data?hsLang=en#questionnaires-epro)
    - [Add and edit patients](https://help.easymedstat.com/collect-data?hsLang=en#add-and-edit-patients)
    - [Randomization](https://help.easymedstat.com/collect-data?hsLang=en#randomization)
    - [Export](https://help.easymedstat.com/collect-data?hsLang=en#export)
    - [Create a series / eCRF](https://help.easymedstat.com/collect-data?hsLang=en#create-a-series-ecrf)
    - [Multilingual studies](https://help.easymedstat.com/collect-data?hsLang=en#multilingual-studies)
- [Variables](https://help.easymedstat.com/variables?hsLang=en#main-content)

    - [Organize in categories](https://help.easymedstat.com/variables?hsLang=en#organize-in-categories)
    - [Dynamic Variables](https://help.easymedstat.com/variables?hsLang=en#dynamic-variables)
    - [Manage variables](https://help.easymedstat.com/variables?hsLang=en#manage-variables)
- [Statistical analyses](https://help.easymedstat.com/statistical-analyses?hsLang=en#main-content)

    - [Statistical tests](https://help.easymedstat.com/statistical-analyses?hsLang=en#statistical-tests)
    - [Compare groups](https://help.easymedstat.com/statistical-analyses?hsLang=en#compare-groups)
    - [Multivariate analysis](https://help.easymedstat.com/statistical-analyses?hsLang=en#multivariate-analysis)
    - [Filter patients](https://help.easymedstat.com/statistical-analyses?hsLang=en#filter-patients)
    - [Descriptive Statistics](https://help.easymedstat.com/statistical-analyses?hsLang=en#descriptive-statistics)
- [Collaborate](https://help.easymedstat.com/collaborate?hsLang=en#main-content)

    - [Share your series](https://help.easymedstat.com/collaborate?hsLang=en#share-your-series)
    - [Manage your organization](https://help.easymedstat.com/collaborate?hsLang=en#manage-your-organization)
- [Monitoring](https://help.easymedstat.com/monitoring?hsLang=en#main-content)

    - [Automations](https://help.easymedstat.com/monitoring?hsLang=en#automations)
    - [Electronic Signatures](https://help.easymedstat.com/monitoring?hsLang=en#electronic-signatures)
    - [Queries](https://help.easymedstat.com/monitoring?hsLang=en#queries)
    - [Clean data](https://help.easymedstat.com/monitoring?hsLang=en#clean-data)

[![](https://help.easymedstat.com/hs-fs/hubfs/Logo%20EMS%20HQ%20Noir-1.png?width=366&height=70&name=Logo%20EMS%20HQ%20Noir-1.png)](http://www.easymedstat.com)

<https://www.linkedin.com/company/easymedstat/> <https://www.youtube.com/@easymedstat9719> [mailto:support@easymedstat.com](mailto:support@easymedstat.com)

Copyright © 2026, EasyMedStat