Temporal Hierarchical Forecasting (THieF)
Temporal hierarchical forecasting builds forecasts of one series at several time scales and combines them. The series is summed into every block length that divides the seasonal period, for example monthly, bimonthly, quarterly, half-yearly and annual totals; each level is forecast separately, and the forecasts are reconciled by weighted least squares so that the monthly forecasts add up to the quarterly and annual ones. Long-run information from the aggregated levels and short-run detail from the original level then support each other.
시간 계층 예측은 한 시계열을 여러 시간 단위에서 예측하고 결합합니다. 계절 주기를 나누어떨어지게 하는 모든 블록 길이로 시계열을 합산해 예를 들어 월, 두 달, 분기, 반기, 연 합계를 만들고, 각 수준을 따로 예측한 뒤 가중최소제곱으로 조정하여 월별 예측의 합이 분기와 연 예측과 일치하게 합니다. 이렇게 하면 집계 수준의 장기 정보와 원래 수준의 단기 세부가 서로를 보완합니다.
How can forecasts at the monthly, quarterly and annual scale be made consistent and more accurate?
월, 분기, 연 단위 예측을 어떻게 서로 일관되면서 더 정확하게 만들 수 있습니까?
The method returns base and reconciled forecasts for every aggregation level and forecast cycle, the model chosen at each level, and, with a hold-out, the accuracy of base and reconciled forecasts.
When to use Temporal Hierarchical Forecasting (THieF)
- You forecast a seasonal series and also need its quarterly or annual totals.
- Plans at different time scales must agree.
- Single-level models miss either the trend or the seasonal detail.
When to use something else
- The hierarchy is across products or regions rather than time: use Hierarchical Forecast Reconciliation
- Demand is intermittent with many zeros: use IMAPA Intermittent Multiple Aggregation Prediction Algorithm
- You need a single forecast without aggregation levels: use Exponential Smoothing (Holt-Winters)
Assumptions and requirements
- Integer seasonal period with several complete cycles
- Base models adequate at every level
- Additive aggregation of the variable (flows, not stocks)
What the analysis reports
- Base and reconciled forecasts at every aggregation level
- Model chosen per level
- Reconciliation weights
- Hold-out accuracy of base versus reconciled forecasts
How to report it
Temporal hierarchical forecasting (period [value], structural scaling) gave a reconciled annual total of [value]; on the held-out year the monthly MAE fell from [value] (base) to [value] (reconciled).
Related methods
- Hierarchical Forecast Reconciliation
- Exponential Smoothing (Holt-Winters)
- IMAPA Intermittent Multiple Aggregation Prediction Algorithm
- Temporal Disaggregation (Chow-Lin, Denton)
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with statsmodels and direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-6.
독립 계산. statsmodels·직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과(허용오차 1e-6).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Temporal Hierarchical Forecasting (THieF) on Quorant
- Data you need
- a table (CSV or Excel) with a time variable and an outcome variable
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Compared with independent computations
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.