Make variable with several categories

Numerical variables measuring amounts, percentages, years of age and other types of continuously values may be categorised through the generate and replace commands.

Example of categorization of the variable wealth where the new variable wealth_int places the values among 4 mutually exclusive categories:

1: 0 – 500000

2: 500001 – 1000000

3: 1000001 – 1500000

4: 1500001 and over