Calculates the price of previous year from nominal and volume at previous year prices series
xvolch=lastyvol_2_ann_overlap(xvolvo,xval,baseyear)
* xvolvo = a quarterly series in volume expressed at base year
* xval = a series in values
* baseyear = the base year of the series
* xvolch = the corresponding volume at chained prices
global GROCERDIR ; load(GROCERDIR+'\data\fra_cons.dat') // calculates the manufacturing consumption at last year prices P3M_DIM_7=ann_overlap_2_lastyvol(P3M_DIM_7CH,P3M_DIM_3) P3M_DIM_7CH2=lastyvol_2_ann_overlap(P3M_DIM_7,P3M_DIM_3,2014) write(%io(2),'ratio of the rebuilt chained priced manufacturing consumption to the original one') disp(P3M_DIM_7CH2/P3M_DIM_7CH) | ![]() | ![]() |