Stata Help

Add Value Labels Your Data

To add value labels to the sex variable, launch the Variables Manager with the varmanage command. For more on the Variables Manager see the Variables Manager Tutorial

Select a variable, and Click the "Manage" button next to the "Value Label" box in the Variable Properties menu.

Screenshot of a Variables Manager window with options to input variable properties.

This brings up the "Manage Value Labels" window. Click "Create Label" in this window. This brings up a window that prompts you to name your set of values and define them.

Screenshot of a Manage Value Labels window with options to create a label.

Give the label set a name and then use the boxes along the side to tell Stata what categorical variables your numbers stand for. Hit "Apply" after each one.

Screenshot of a Manage Value Labels window with options to create a label.

Finally, select your label set from the drop-down menu and once more hit "Apply".

Screenshot of a Variables Manager window with options to input variable properties.

Back