Hi everyone,
My dataset contains observations for countries and industries over 10 years. For every industry i have a measure of its performance, value added growth (per year and per country). What I want to do is create a (dummy) variable that divides "Value added growth" into 7 industries below and 7 industries above the median for the whole panel (not per country).
The end result should be something like: Value added growth (j,k,t) = A*(below median) + B(above median). I found a similar problem on the forum (link below), however the answer does not really solve my problem.
http://www.stata.com/statalist/archi.../msg00097.html
Thanks in advance!
My dataset contains observations for countries and industries over 10 years. For every industry i have a measure of its performance, value added growth (per year and per country). What I want to do is create a (dummy) variable that divides "Value added growth" into 7 industries below and 7 industries above the median for the whole panel (not per country).
The end result should be something like: Value added growth (j,k,t) = A*(below median) + B(above median). I found a similar problem on the forum (link below), however the answer does not really solve my problem.
http://www.stata.com/statalist/archi.../msg00097.html
Thanks in advance!
Comment