Package: FoReco 1.0.0.9012

FoReco: Forecast Reconciliation

Classical (bottom-up and top-down), optimal combination and heuristic point (Di Fonzo and Girolimetto, 2023 <doi:10.1016/j.ijforecast.2021.08.004>) and probabilistic (Girolimetto et al. 2023 <doi:10.1016/j.ijforecast.2023.10.003>) forecast reconciliation procedures for linearly constrained time series (e.g., hierarchical or grouped time series) in cross-sectional, temporal, or cross-temporal frameworks.

Authors:Daniele Girolimetto [aut, cre, fnd], Tommaso Di Fonzo [aut, fnd]

FoReco_1.0.0.9012.tar.gz
FoReco_1.0.0.9012.zip(r-4.5)FoReco_1.0.0.9012.zip(r-4.4)FoReco_1.0.0.9012.zip(r-4.3)
FoReco_1.0.0.9012.tgz(r-4.5-any)FoReco_1.0.0.9012.tgz(r-4.4-any)FoReco_1.0.0.9012.tgz(r-4.3-any)
FoReco_1.0.0.9012.tar.gz(r-4.5-noble)FoReco_1.0.0.9012.tar.gz(r-4.4-noble)
FoReco_1.0.0.9012.tgz(r-4.4-emscripten)FoReco_1.0.0.9012.tgz(r-4.3-emscripten)
FoReco.pdf |FoReco.html
FoReco/json (API)
NEWS

# Install 'FoReco' in R:
install.packages('FoReco', repos = c('https://danigiro.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/danigiro/foreco/issues

Pkgdown site:https://danigiro.github.io

Datasets:
  • expside - Italian Quarterly National Accounts
  • gdpconsmat - Italian Quarterly National Accounts
  • incside - Italian Quarterly National Accounts
  • itagdp - Italian Quarterly National Accounts
  • outside - Italian Quarterly National Accounts
  • vnaggmat - Australian Tourism Demand dataset
  • vndata - Australian Tourism Demand dataset

On CRAN:

Conda:

forecastingreconciliationtime-series

6.19 score 33 stars 104 scripts 464 downloads 43 exports 6 dependencies

Last updated 3 months agofrom:e9bd8622f5. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 08 2025
R-4.5-winOKMar 08 2025
R-4.5-macOKMar 08 2025
R-4.5-linuxOKMar 08 2025
R-4.4-winOKMar 08 2025
R-4.4-macOKMar 08 2025
R-4.4-linuxOKMar 08 2025
R-4.3-winOKMar 08 2025
R-4.3-macOKMar 08 2025

Exports:aggtsarrange_hresbalance_hierarchycommatcsbootcsbucscovcslcccsmocsprojmatcsreccstdcstoolscstrecctbootctbuctcovctlccctmoctprojmatctreccttdcttoolsdf2aggmatFoReco2matrixitereclcmatrecoinfores2matrixset_boundsshrink_estimshrink_oasdtcsrecteboottebutecovtelcctemoteprojmatterectetdtetoolsunbalance_hierarchy

Dependencies:clilatticeMatrixosqpR6Rcpp

Readme and manuals

Help Manual

Help pageTopics
FoReco: Forecast ReconciliationFoReco-package FoReco
Non-overlapping temporal aggregation of a time seriesaggts
Aggregation matrix of a (possibly) unbalanced hierarchy in balanced formbalance_hierarchy
Commutation matrixcommat
Cross-sectional joint block bootstrapcsboot
Cross-sectional bottom-up reconciliationcsbu
Cross-sectional covariance matrix approximationcscov cscov.default cscov.ols cscov.sam cscov.shr cscov.str cscov.wls
Level conditional coherent reconciliation for genuine hierarchical/grouped time seriescslcc
Cross-sectional middle-out reconciliationcsmo
Projection matrix for optimal combination cross-sectional reconciliationcsprojmat
Optimal combination cross-sectional reconciliationcsrec
Cross-sectional top-down reconciliationcstd
Cross-sectional reconciliation toolscstools
Cross-temporal joint block bootstrapctboot
Cross-temporal bottom-up reconciliationctbu
Cross-temporal covariance matrix approximationctcov ctcov.acov ctcov.bdsam ctcov.bdshr ctcov.bsam ctcov.bshr ctcov.csstr ctcov.default ctcov.hbsam ctcov.hbshr ctcov.hsam ctcov.hshr ctcov.ols ctcov.sam ctcov.shr ctcov.Ssam ctcov.Sshr ctcov.str ctcov.testr ctcov.wlsh ctcov.wlsv
Level conditional coherent reconciliation for cross-temporal hierarchiesctlcc
Cross-temporal middle-out reconciliationctmo
Projection matrix for optimal combination cross-temporal reconciliationctprojmat
Optimal combination cross-temporal reconciliationctrec
Cross-temporal top-down reconciliationcttd
Cross-temporal reconciliation toolscttools
Cross-sectional aggregation matrix of a dataframedf2aggmat
Reconciled forecasts to matrix/vectorFoReco2matrix
Italian Quarterly National Accountsexpside gdpconsmat incside itagdp outside
Iterative cross-temporal reconciliationiterec
Linear combination (aggregation) matrix for a general linearly constrained multiple time serieslcmat
Informations on the reconciliation processrecoinfo
One-step and multi-step residualsarrange_hres res2matrix
Set bounds for bounded forecast reconciliationset_bounds
Shrinkage of the covariance matrixshrink_estim
Shrinkage of the covariance matrix using the Oracle approximationshrink_oasd
Heuristic cross-temporal reconciliationcstrec tcsrec
Temporal joint block bootstrapteboot
Temporal bottom-up reconciliationtebu
Temporal covariance matrix approximationtecov tecov.acov tecov.default tecov.har1 tecov.ols tecov.sam tecov.sar1 tecov.shr tecov.str tecov.strar1 tecov.wlsh tecov.wlsv
Level conditional coherent reconciliation for temporal hierarchiestelcc
Temporal middle-out reconciliationtemo
Projection matrix for optimal combination temporal reconciliationteprojmat
Optimal combination temporal reconciliationterec
Temporal top-down reconciliationtetd
Temporal reconciliation toolstetools
Aggregation matrix of a balanced hierarchy in (possibly) unbalanced formunbalance_hierarchy
Australian Tourism Demand datasetvnaggmat vndata