tetools | R Documentation |
Some useful tools for forecast reconciliation through temporal hierarchies.
tetools(agg_order, fh = 1, tew = "sum", sparse = TRUE)
agg_order |
Highest available sampling frequency per seasonal cycle (max. order
of temporal aggregation, |
fh |
Forecast horizon for the lowest frequency (most temporally aggregated)
time series (default is |
tew |
A string specifying the type of temporal aggregation. Options include:
" |
sparse |
Option to return sparse matrices (default is |
A list with five elements:
dim |
A vector containing information about the maximum aggregation order
( |
set |
The vector of the temporal aggregation orders (in decreasing order). |
agg_mat |
The temporal linear combination or aggregation matrix. |
strc_mat |
The temporal structural matrix. |
cons_mat |
The temporal zero constraints matrix. |
Temporal framework:
teboot()
,
tebu()
,
tecov()
,
telcc()
,
temo()
,
terec()
,
tetd()
Utilities:
FoReco2matrix()
,
aggts()
,
balance_hierarchy()
,
commat()
,
csprojmat()
,
cstools()
,
ctprojmat()
,
cttools()
,
df2aggmat()
,
lcmat()
,
recoinfo()
,
res2matrix()
,
shrink_estim()
,
teprojmat()
,
unbalance_hierarchy()
# Temporal framework (quarterly data)
obj <- tetools(agg_order = 4, sparse = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.