<< lastyvol_2_ann_overlap Tools for NSI data Printings and graphs >>

Grocer >> Tools for NSI data > lastyvol_2_baseprice

lastyvol_2_baseprice

Calculates previous year prices series from nominal and chained volume quarterly series

CALLING SEQUENCE

xpxbase=lastyvol_2_baseprice(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

* xpxbase = the corresponding price of previous year

DESCRIPTION

Calculates the price of previous year 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)
// calculates last year prices of the manufacturing consumption
P3M_DIM_0=latsyvol_2_baseprice(P3M_DIM_7,P3M_DIM_3,2014)

AUTHOR

Éric Dubois 2022

Report an issue
<< lastyvol_2_ann_overlap Tools for NSI data Printings and graphs >>