<< ann_overlap_2_latsyvol Tools for NSI data chained_laspeyres >>

Grocer >> Tools for NSI data > carryover

carryover

calculates the carry-over of a time series

CALLING SEQUENCE

[carry]=carryover(ts,fq)

PARAMETERS

Input

* ts = a time series

* fq = the low frequency of the result ts, defined as a number or a string

Output

* carry = the resulting carryover

DESCRIPTION

Performs the carryover of a time series.

EXAMPLE

//load French cpi collected in February 2022, that ends in January
global GROCERDIR;
load(GROCERDIR+'\data\fra_cpi.dat')
// calculate the annual carryover
carryover(ipc,'a')
// calculate the quarterly carryover
carryover(ipc,'q')

AUTHOR

Éric Dubois 2022

Report an issue
<< ann_overlap_2_latsyvol Tools for NSI data chained_laspeyres >>