Dear all,
The data are longitudinal quarterly data sets. Here, I want to change the base year from 2015 to 2010. As the new-base year of this index data, the data need to divide by the 2010 data. From a new base year, quarterly-1 (2011q1) will be divided by 2010q1, such as 2013q1 and 2013q2 will be divided by 2010q1 and 2010q2 respectively. How can I do that? Thanks
input float(id qdate) double(emp gwage) float indp double(exp_index imp_index indpturnover ex_rate) str154 industry byte _merge
7 200 67.4 32.5 71.53333 93 78.6 90.8 118.86 "B07. (Mining Of Metal Ores)" 3
7 201 82.5 38.5 78.16666 100.7 85.7 102.93333333333334 121.6 "B07. (Mining Of Metal Ores)" 3
7 202 87.9 42 74.13333 97.4 116.8 99.63333333333333 123.2 "B07. (Mining Of Metal Ores)" 3
7 203 87.4 52.4 73.86667 108.9 119 106.7 120.22 "B07. (Mining Of Metal Ores)" 3
7 204 84.4 44.4 72.73333 114.5 130.3 110.03333333333335 111.68 "B07. (Mining Of Metal Ores)" 3
7 205 97 51.5 78 123 139.4 113.40000000000002 109.16 "B07. (Mining Of Metal Ores)" 3
7 206 104.3 56.5 94.8 130.1 166.7 165.6 99.89 "B07. (Mining Of Metal Ores)" 3
7 207 101.8 60.8 99.2 127.6 184.5 178.79999999999998 103.56 "B07. (Mining Of Metal Ores)" 3
7 208 97.8 59.7 84.5 121.8 155.2 177.9 108.3 "B07. (Mining Of Metal Ores)" 3
The data are longitudinal quarterly data sets. Here, I want to change the base year from 2015 to 2010. As the new-base year of this index data, the data need to divide by the 2010 data. From a new base year, quarterly-1 (2011q1) will be divided by 2010q1, such as 2013q1 and 2013q2 will be divided by 2010q1 and 2010q2 respectively. How can I do that? Thanks
input float(id qdate) double(emp gwage) float indp double(exp_index imp_index indpturnover ex_rate) str154 industry byte _merge
7 200 67.4 32.5 71.53333 93 78.6 90.8 118.86 "B07. (Mining Of Metal Ores)" 3
7 201 82.5 38.5 78.16666 100.7 85.7 102.93333333333334 121.6 "B07. (Mining Of Metal Ores)" 3
7 202 87.9 42 74.13333 97.4 116.8 99.63333333333333 123.2 "B07. (Mining Of Metal Ores)" 3
7 203 87.4 52.4 73.86667 108.9 119 106.7 120.22 "B07. (Mining Of Metal Ores)" 3
7 204 84.4 44.4 72.73333 114.5 130.3 110.03333333333335 111.68 "B07. (Mining Of Metal Ores)" 3
7 205 97 51.5 78 123 139.4 113.40000000000002 109.16 "B07. (Mining Of Metal Ores)" 3
7 206 104.3 56.5 94.8 130.1 166.7 165.6 99.89 "B07. (Mining Of Metal Ores)" 3
7 207 101.8 60.8 99.2 127.6 184.5 178.79999999999998 103.56 "B07. (Mining Of Metal Ores)" 3
7 208 97.8 59.7 84.5 121.8 155.2 177.9 108.3 "B07. (Mining Of Metal Ores)" 3
Comment