4.4.1. Preparing the data sets
In order to link a data set with macro data to one with micro data, both data sets must have a variable which is a macro unit identifier. This identifier must be coded in exactly the same way in both data sets and have the same variable name, say macrounit. Some statistical programmes, such as Stata, require that both data sets are sorted by the macro-unit.