Hello everyone,
Stata is new to me and my question may seem to be easy but I would be greatful if you could help me.
I have quarterly sales data from 2003 until 2012. I also have a variable maxval which shows the maximum sales values in each observation. I need to create a variable which shows in which year the sales were at maximum. Thank you very much in advance.
maxval year
1284.08 ex.2003
1005.84 …
13282.51
1626.06
831.32
3503.8
Kind regards,
NR
Stata is new to me and my question may seem to be easy but I would be greatful if you could help me.
I have quarterly sales data from 2003 until 2012. I also have a variable maxval which shows the maximum sales values in each observation. I need to create a variable which shows in which year the sales were at maximum. Thank you very much in advance.
maxval year
1284.08 ex.2003
1005.84 …
13282.51
1626.06
831.32
3503.8
Kind regards,
NR
Comment