Sphinx IQ

Regroup the codes

Recall : The transformation Regroup the codes is possible for the code variables (for example, postal code). In our case, we have a question which asks respondents for their postal code.

code

3 You can reduce the code to a certain number of characters. In our example if we tick this option and we put (1 ;2), the codes will appear in the form 38, 69, 73 et 74, but if we put (1 ;2 ;3 ;4 ;5) or if we leave the field empty, the codes will appear in the form 38000, 69000 etc,

4 You can regroup the codes with a dictionary (file .txt). In our case we wish to regroup the codes by department in order to carry out statistics by department (or by region, etc.) during the analyses,

5 Or in a personlaized way by regrouping manually your codes and by creating the names of the appropriate groups (for example, select 73 et 74 and create the group Land of Savoie).

 

Retour vers : Transform a variable