<< contrichution Tools for NSI data lastyvol_2_baseprice >>

Grocer >> Tools for NSI data > lastyvol_2_ann_overlap

lastyvol_2_ann_overlap

Calculates the price of previous year from nominal and volume at previous year prices series

CALLING SEQUENCE

xvolch=lastyvol_2_ann_overlap(xvolvo,xval,baseyear)

PARAMETERS

Input

* xvolvo = a quarterly series in volume expressed at base year

* xval = a series in values

* baseyear = the base year of the series

Output

* xvolch = the corresponding volume at chained prices

DESCRIPTION

Calculates a quarterly chained volume times series from series expressed in volume at a base year and the corresponding nominal time series.

EXAMPLE

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)

AUTHOR

Éric Dubois 2022

Report an issue
<< contrichution Tools for NSI data lastyvol_2_baseprice >>