I have a panel data set on Mexican regions and agegroups, respectively divided by high and low income groups. For every case I calculated a numeracy Index (abcc). I want to calculate abcc differences between the income groups for each state and agegroup. Can anybody help me with the command? I tried < by agegr (state), sort: gen abccc = abcc if med_high_skill == 1 - abcc if med_high_skill == 0 >, but it does not work with this one.
-
Login or Register
- Log in with

Comment