Group numbers into classes

Recall: The transformation Group numbers into classes is possible for the open numerical variables.

This assistant allows to assign each observation for one class, that we will define, The aim is to be able later to use these classes of observations for the analyses.

In our example, we want to create classes of age. For this, we select the variable Age (numerical) then arrive to this assistant which proposes two ways of dsefining classes. Either we define the limits of classes manually (bounds of personalized classes), or we use another method allowing a distribution of observations in the classes, in function of a fixed number of classes.

Define the limits of classes

nombre en classes 1

We define the limits of classes by separating them with « ; ». In our case, we wish to create the classes under 18 years, From 18 to 25 years, From 26 to 50 years and more than 50 years.

nombre en classes 2

We can later modify the title of classes, created by default, by clicking didact final copie html m4d24f600, for example we can make the decision to name the under 18 years : « Minors », those between 18 and 25 years : « Active youth » etc…

nombre en classes 3

Use classes definition method

numb class 4

You have the choice between four methods of the definition of classes :