Skip to content

Methods · Time series · Forecast reconciliation

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)

When to use something else

Assumptions and requirements

What the analysis reports

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

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.

Method ID Q53162 · Reviewed 2026-10-25