Why grouping or reordering modalities of a List variable?
A List variable can contain as many possible values as you desire. These possible values are called "modalities". However, you may wish in some cases to group some values together.
Take the example of a variable named "Class of age" which can take the following values "≤ 20 years", "20 - 39 years", "40 - 59 years" and "≥ 60 years". You may want to group together patients who are aged less than 40 years and compare them to patients who are older than 40 years.
This is where grouping modalities could help you.
How to reorder modalities of a List variable?
- Go to "Test variables"
- Pick a List variable
- Click on the settings icon next to the name of the variable
- Each group is represented as a column.
- You can add or delete columns to create or remove groups
- Each line represents a modality of your List variable
- Match one or several modalities to each group
- Validate by clicking on "Confirm"
How to ignore some values for the statistical analysis?
If you want to ignore some values for the statistical analysis, this article may help you.
Create groups from a Numeric variable?
If you want to create groups from a Numeric variable, this article may help you.