Catalog / Predictive Analytics & Forecasting / PRED-047

Economic nowcasting & macro/tax-revenue forecasting (central banks, ministries, institutes)

Combine mixed-frequency macro indicators, alternative data and time-series foundation models to nowcast GDP, inflation and tax receipts for central banks, finance ministries and economic institutes.

Official GDP, inflation and tax figures arrive weeks or months late, yet budgets and policy decisions need them now. Nowcasting models turn the stream of earlier, higher-frequency indicators into a continuously updated estimate of the current quarter. Classical dynamic factor models remain the workhorse; machine learning, alternative data and pretrained time-series foundation models add accuracy in volatile periods, and LLMs help with text indicators and reporting. The aggregate data usually involves no personal data and no high-risk AI Act category.

Problem & value

  • Today: economists maintain Excel/Matlab/R nowcasts, bridge equations and judgmental adjustments. Tax estimation bodies (in Germany the Arbeitskreis Steuerschätzungen at the federal finance ministry) combine macro projections with tax-by-tax models and expert judgement. Updating after each data release is manual.
  • AI value: more automated ingestion of many indicators, faster re-estimation after each release, handling of non-linearities and crisis periods, text/sentiment signals, reproducible pipelines and draft commentary.
  • Evidence (be careful with transfer): a Dutch central bank study (1992–2018, pseudo real-time) found the random forest the most accurate nowcaster and ML more accurate than dynamic factor models since the financial crisis [3]. A Peru study using 91 indicators incl. sentiment reports ML error reductions of roughly 20–25 % versus AR and DFM benchmarks [1]. Both are single-country academic results, not guarantees for other economies; gains typically concentrate in turbulent periods, while linear/DFM models stay competitive in calm ones.

Variants

  • Central-bank GDP/inflation nowcast (euro area, national, regional); weekly activity indices.
  • Finance-ministry tax-revenue forecasting by tax type (VAT, wage tax, corporate tax) and federal/state/municipal split; in-year receipts monitoring.
  • Economic institutes and think tanks (e.g. German research institutes): business-cycle diagnostics, forecast-combination.
  • Corporate macro nowcasting for treasury, FP&A or banks: sector demand, country risk (links to PRED-016, PRED-008).
  • Municipal budget forecasting (trade-tax revenue) with small teams using Path B or C.
  • Private/individual: not a relevant use case.

How it works

  1. data pipeline (releases, vintages, scraping)
  2. feature building (mixed frequency, ragged edge, calendar/tax-law dummies)
  3. model ensemble (DFM + gradient boosting/random forest + foundation model with covariates)
  4. density forecast + news decomposition
  5. analyst review/judgement
  6. publication
  • Real-time vintages: store every data release with its release date; evaluate only pseudo-real-time to avoid look-ahead bias.
  • Dynamic factor model: extracts common factors from many monthly series and handles quarterly targets and missing recent observations; the statsmodels DynamicFactorMQ implements mixed-frequency estimation and "news" from data updates [4].
  • ML models: LASSO/elastic net, random forests, gradient boosting handle many predictors and non-linearities [1][3].
  • Time-series foundation models: Chronos-2 (120M parameters, Apache-2.0) forecasts zero-shot with past and known-future covariates, up to 8192 context steps [2][5]. Macro series are short (a few hundred points), so zero-shot priors may help, but must be benchmarked against DFM.
  • LLMs: classify news/speeches into sentiment indices, extract policy changes, summarise releases and draft commentary; never as the number-generating model.
  • Human-in-the-loop: economists approve the final figures and apply judgement for one-offs (strikes, tax law, shocks); forecast bodies decide the official numbers.

Data preparation

Data are mostly aggregate and public or licensed: official statistics (national accounts, industrial production, tax receipts by tax type), survey indicators (PMI, ifo, ZEW), high-frequency data (payments, electricity load, freight) and text such as news and central-bank speeches. Internally, tax receipts sit in finance-ministry or ERP systems, and institute histories often in Excel files.

Typical gaps: no stored release vintages (so look-ahead bias), mixed frequencies and ragged edges, revisions, structural breaks from tax-law changes, spreadsheet-based series with inconsistent definitions, scattered licensing terms for alternative data.

Preparation steps: 1. Extract series via APIs and connectors (PREP-005, DATA-003). 2. Rebuild tidy tables and store every release with its date as a vintage (PREP-011). 3. Define KPI and series definitions in a shared glossary (PREP-012). 4. Add calendar and tax-law dummies and document breaks. 5. Create a pseudo-real-time evaluation set with the economists (PREP-018).

Effort: medium; vintage storage and data engineering take roughly a third to half of the work, modelling is quick. See GUIDE-003.

Implementation paths

Which path for whom

  • Public (central banks, ministries, statistics offices): Path C — method transparency and confidential pre-release data argue for an in-house open-source stack on HW1.
  • Enterprise (banks, corporates, institutes): Path B — managed forecasting APIs and data platforms are cheap relative to data licences, and aggregate macro data are not sensitive.
  • Developer: Path C — statsmodels, Chronos-2 and LightGBM run on a CPU or a single modest GPU.

Path A — Buy (off-the-shelf)

Commercial macro-forecasting and data platforms (Oxford Economics, Moody's Analytics, Haver, Macrobond, Bloomberg Economics) offer ready models and data; Macrobond and Haver are common in central banks and ministries. Good for companies and small institutions without a modelling team. Public bodies' official forecasts are rarely bought, since method transparency matters. Check each vendor's current offerings; I did not verify individual product features in this research round.

Path B — Build on cloud APIs

Managed forecasting APIs: Nixtla TimeGPT (closed model; SDK Apache-2.0; self-hosted and Snowflake deployments exist) [7], Amazon SageMaker/AutoGluon with Chronos-2 [5], Google TimesFM via BigQuery ML for commercial use (TimesFM 3.0 weights are non-commercial) [6]. LLMs from EU-region endpoints for text indicators. Suited to corporate users; public statistics bodies should be wary of confidential pre-release data leaving their perimeter.

Path C — Self-host (open source)

Recommended default for public institutions: Python/R stack (statsmodels DynamicFactorMQ [4], scikit-learn, LightGBM, chronos-forecasting [2][5], TimesFM 2.5 Apache-2.0 weights [6]), a data warehouse with vintage storage, orchestration (Airflow/Dagster) and an open-weight LLM for text. The models are small: CPU or a single modest GPU is enough (HW1); an LLM for text analysis raises this to HW2. Ops effort: one data engineer plus economists.

Path D — Custom training

Worth it for fine-tuning a foundation model or text classifier on the institution's own history, building bespoke tax-by-tax elasticity models, or training sentiment models on national-language news. Data: decades of vintages, which are short; hence prefer regularised models, forecast combinations and rigorous out-of-sample testing over large deep networks.

State of the art (2026)

  • Workhorses unchanged: DFMs, bridge equations and mixed-frequency regressions remain standard; ML is added as challengers and in ensembles [1][3][4].
  • Foundation models: Chronos-2 (released Oct 2025) reports state-of-the-art zero-shot results on fev-bench, GIFT-Eval and Chronos Benchmark II and is strongest on tasks with covariates [2][5]. TimesFM 2.5 (200M, covariate support via XReg) is Apache-2.0; TimesFM 3.0 adds past and future covariates but its weights are restricted to non-commercial use [6]. These benchmarks are mostly non-macro; no result here shows foundation models beating DFMs on official GDP nowcasts, so treat them as challengers.
  • Alternative and text data: news sentiment, payments and job-ad data improve early-quarter nowcasts in some studies [1].
  • Limits: structural breaks (pandemic, energy shock), data revisions, tiny samples, tax-law changes that models cannot learn from history, over-fitting to pseudo-out-of-sample, and false precision from fan charts. LLM-generated commentary can hallucinate numbers; verify against model output.

Shared resources & combinations

  • Capabilities: time-series, tabular-ml, llm-general, text-classifier, embedding-text, web-scraping, causal-inference.
  • Hardware: HW1 for forecasting; HW2 if a local LLM is added; same GPU can serve other forecasting use cases.
  • Combinations: PRED-001 (demand forecasting, shared time-series pipeline and foundation models), PRED-008 (commodity/energy price forecasting as input indicators), PRED-016 (corporate cash-flow forecasting uses macro scenarios), PRED-007 (electricity load as a high-frequency activity indicator), PRED-028 (risk-based tax audit selection draws on the same revenue data, with separate legal constraints).

Effort, cost & KPIs

  • A: weeks; licence and data subscriptions. B: 1–3 months; API fees low, data costs dominate. C: 3–9 months for a first production nowcast with vintage database, then continuous maintenance. D: adds months of research and evaluation.
  • Cost drivers: data licences, data engineering for vintages, economist time. Compute is minor.
  • KPIs: RMSE/MAE versus first-release and later-vintage outcomes against benchmark (AR, DFM, consensus), interval coverage/CRPS, hit rate for sign/direction, tax-revenue error versus the previous estimate, time from data release to updated estimate, analyst hours per cycle.

People & change

Involve management and the department lead (chief economist or forecasting unit head) for scope and publication responsibility, economists as end-users from day one, data owners (statistics, tax authority, finance) for access and licences, IT for the vintage database and pipeline, and legal-compliance for data licences and confidentiality of pre-release figures.

Works council: generally no. The system forecasts aggregates and does not evaluate employees. Inform the council or staff council early anyway (§90(1) no. 3 BetrVG; Personalrat in public bodies), and note that §87(1) no. 6 applies if usage of the tooling is logged per person, which many platforms do (GUIDE-004).

Data protection: aggregate data are non-personal; involve the DPO only if individual-level tax or payment microdata are used, which would also call for a DPIA and may change the AI Act classification (GUIDE-005).

AI literacy: support economists with training on foundation-model limits, benchmarking against DFM and AR models, and LLM-generated text (GUIDE-006).

Pilot and concerns: run the AI nowcast in parallel with the existing process for a few release cycles. Economists may worry about losing judgement; stress that they approve final numbers and add judgement for shocks (GUIDE-009, GUIDE-008).

Risks, regulation & compliance

  • EU AI Act: macro forecasting on aggregate data is not in the Annex III high-risk areas [8] (those concern e.g. benefits eligibility, credit scoring, law enforcement). Typically minimal risk; AI literacy (Art. 4) applies. Art. 50 transparency applies if AI-generated text is published to the public. If tax forecasting drifts into individual-level taxpayer profiling or audit selection, classification can change (see PRED-028, PRED-029). Not legal advice.
  • GDPR: aggregate series are generally non-personal; alternative data from payments, mobility or social media must be aggregated/anonymised at source, and small-cell aggregates can still be re-identifying.
  • Sector/institutional: official statistics codes of practice (embargo and pre-release confidentiality), central bank independence and publication rules, budget law and the Arbeitskreis procedure for tax estimates. Pre-release data should stay on-premises (Path C).
  • Model risk: document assumptions, keep challenger models, back-test regularly, label uncertainty clearly, keep a human sign-off.

Getting started

  1. Build a vintage database of the target (GDP or tax receipts) and 30–100 indicators with release dates.
  2. Implement a DFM baseline (statsmodels DynamicFactorMQ) and AR benchmark; set up a pseudo-real-time evaluation [4].
  3. Add challengers: LASSO, random forest, gradient boosting, and Chronos-2 with covariates [2][3][5].
  4. Evaluate on turbulent versus calm periods; combine models and calibrate intervals.
  5. Pilot an LLM-based text indicator and draft commentary with analyst review; then automate the update-on-release workflow.

Sources

  1. Tenorio & Perez, "Monthly GDP nowcasting with Machine Learning and Unstructured Data" – https://arxiv.org/abs/2402.04165
  2. Amazon Science, chronos-forecasting repository (Chronos-2, Bolt) – https://github.com/amazon-science/chronos-forecasting
  3. De Nederlandsche Bank, Working Paper 754, "Nowcasting GDP using machine learning methods" – https://www.dnb.nl/en/publications/research-publications/working-paper-2022/754-nowcasting-gdp-using-machine-learning-methods/
  4. statsmodels DynamicFactorMQ documentation – https://www.statsmodels.org/stable/generated/statsmodels.tsa.statespace.dynamic_factor_mq.DynamicFactorMQ.html
  5. Chronos-2 model card, Hugging Face – https://huggingface.co/amazon/chronos-2 ; paper https://arxiv.org/abs/2510.15821
  6. Google Research, TimesFM repository – https://github.com/google-research/timesfm
  7. Nixtla (TimeGPT) repository – https://github.com/Nixtla/nixtla
  8. EU AI Act Service Desk, Annex III – https://ai-act-service-desk.ec.europa.eu/en/ai-act/annex-3