<< Tools for NSI data Tools for NSI data ann_overlap_2_baseprice >>

Grocer >> Tools for NSI data > add_an_overlap

add_an_overlap

Add quarterly chained volumes series with annual overlap

CALLING SEQUENCE

sum_vol=add_an_overlap(vols,vals,baseyear,weights)

PARAMETERS

Input

* vols = a list of k chained volume series

* vals = a list of k value series

* baseyear = a constant, the base year

* weights = a constant vector of weights given to each k series

Output

* sum_vol = the resulting series

DESCRIPTION

Calculates the sum of chained volumes of QNA data built as chained volumes series with annual overlap.

EXAMPLE

// load the quarterly data on French consumption published in Februray 2022 by Insee
global GROCERDIR ;
load(GROCERDIR+'\data\fra_cons.dat')
// build the consumption in industrial products from the one in manufacturing and energy
ind_cons=add_an_overlap(list(P3M_DE_7CH,P3M_DIM_7CH),list(P3M_DE_3,P3M_DIM_3),2014)
// build the ratio of the original to rebuilt series of housholds'' consumption of industrial products
// (note: there can be slight discrepancies because Insee uses non seasonlly adjusted annual weights
// but only published seasonnaly adjusted series)
write(%io(2),'ratio of the original to rebuilt series of housholds'' consumption of industrial products:')
disp(ind_cons/P31M_DI_7CH)

AUTHOR

Éric Dubois 2022

Report an issue
<< Tools for NSI data Tools for NSI data ann_overlap_2_baseprice >>