---
title: Types of variables
description: All the variables are not the same! The number of days of hospitalization and the type of operation are slightly different. And that difference is…
---

[Skip to content](https://help.easymedstat.com/support/solutions/articles/77000173932-types-of-variables#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. [Variables](https://help.easymedstat.com/variables?hsLang=en)
3. [Manage variables](https://help.easymedstat.com/variables?hsLang=en#manage-variables)

# Types of variables

All the variables are not the same! The number of days of hospitalization and the type of operation are slightly different. And that difference is important when it comes to statistics ...

## The 4 basic types

In EasyMedStat, there are **4 types of variables**: list, yes-no, numeric and event.

 

#### **List**

You use it when you have a limited number of options for the answer.  
For example, the type of operation could be for your series on the knee surgery one of: *Meniscectomy, Total arthroplasty, Unicompartmental arthroplasty, ACL Ligamentoplasty, Osteotomy*.

So you have 5 possible answers to the question: *"What operation was performed on the patient ?"*. This is a "List" variable. In statistics, it is also called a discrete multinomial variable.

 

#### **Yes-no**

You use it when the answer to the question can only be yes or no. For example, Smoker: yes or no? Epilepsia: yes or no? This type of variable should be preferred over List variables whenever possible because it allows more statistical test power.

 

#### **Numeric**

Use it when the data is a number which can take any value (the number of possible values is not known before the study).  
For example, the patients' weight could go from 40.0 kgs to 110.0 kgs but with many intermediary values: 67.3, 81.2, ...  
In this case, it is better to use the Numeric type. In statistics, it is also called a continuous variable.

#### **Event**

You use this type when you want to track an event that could happen to a patient.

For example, the re-intervention date or the date of a complication could be a noticeable event you would like to track. This is the only type of variable that allows making survival analysis (Kaplan-Meier, …)

## How to collect free text?

To define a free text input, choose a "List" variable and choose the option "The user can always enter free text".

A simple text input will then be displayed in the form.

## You may also be looking for...

The following variables are **currently not available**:

- Checkboxes and multiple selectors: these types of inputs are not supported because they may lead to data inconsistency. We recommend you avoid this kind of question. Indeed, if a checkbox is not clicked, you can never know if this is because the user has not answered (NC) or because the answer is "No". Therefore, monitoring can quickly become problematic.
- Times: you can not yet collect "times" like "00:32" with a specific input. You can however define a free text input or a List input as a workaround.

- [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