I'm relatively new at STATA and sometimes I get confused with the commands I should use.
I have to compute the relative mean weight of two variables (local taxes called IMI and IMT) considering the total income of munipalities (over two other variables, called Capital Income and Current Income), using loop-foreach.
I tried severall commands, but it seems that I cannoot find the right one. Can someone please help me?
I have to compute the relative mean weight of two variables (local taxes called IMI and IMT) considering the total income of munipalities (over two other variables, called Capital Income and Current Income), using loop-foreach.
I tried severall commands, but it seems that I cannoot find the right one. Can someone please help me?

Comment