Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • naming categories of a variable

    Dear participants,

    I have four categorical variables: education (primary=0, secondary=1, tertiary =2 and higher=3), place of residence (urban=1, rural=2), wealth (poorest=1, poorer=2, middle=3, richer=4, richest=5), empowerment (low=1, medium=2, high=3). I want to create a new variable by multiplying these four variables: education*residence*wealth*empowerment, and gives a variable with 120 categories. How do I label these categories automatically in Stata? Or how do I know that for example which category represents no education and poorest and low empowerment and urban area? I want to know the name of combinations of each category of the variable so that I would be able to analyze my analysis by the categories.
    Your help is much appreciated
    Last edited by Gebretsadik Shibre; 18 Jul 2022, 06:37.
Working...
X