postshock: An R Package for Donor-Adjusted Forecasting After Structural Shocks
Qiyang Wang, Daniel J. Eck
Key points
From the paper's conclusion- We present the postshock R package, which implements and extends a donor-based framework for forecasting when a structural shock is known and the target response of interest is not yet observed.
Abstract
We present the postshock R package, which implements and extends a donor-based framework for forecasting when a structural shock is known and the target response of interest is not yet observed. The package estimates shock effects from historical donor episodes, balances donors using specified matching features, and transfers the resulting adjustment to a target-series forecast. It provides integrated workflows for conditional mean forecasting through ARIMA and ARIMAX models and conditional variance forecasting through GARCH-X models. Additional functionality includes structured donor pools, control-shock regressors, automated GARCH-X order selection, processed data objects, and reproducible empirical workflows.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- recurcast: Coherent Forecasts for History-Dependent Recurrent and Terminal Events in RarXiv · 2026
- Forecasting demand during and after supply chain disruptions using a shock smoother ETSInternational Journal of Production Research · 2025
- dsp: An R Package for Bayesian Time Series Modeling with the Dynamic Shrinkage ProcessarXiv · 2026
- A New GAUSS Software Component for Implementing Dynamic Tests of Contagion with an ApplicationarXiv · 2026
- Fast and efficient estimation of macromodels with large shocksApollo (University of Cambridge) · 2026
- Lift Out, Kick In: Decoupling Event Effects for Time Series ForecastingarXiv · 2026