Hello,
I'm relatively new to Stata, so this might be a dumb question. However, via google search I couldn't find anything helpful. What I want to do is to do calculations within columns. For a start I have the following table:
I'd like stata to multiply the values of those rows where indicator!="FOREX" with the values of the row where indicator="FOREX" for each y02-y15.
Lateron I'll have more complicated within column calcuations coming up. Is there any smooth way to do this?
I'm relatively new to Stata, so this might be a dumb question. However, via google search I couldn't find anything helpful. What I want to do is to do calculations within columns. For a start I have the following table:
I'd like stata to multiply the values of those rows where indicator!="FOREX" with the values of the row where indicator="FOREX" for each y02-y15.
Lateron I'll have more complicated within column calcuations coming up. Is there any smooth way to do this?
Comment