Package: postshock Type: Package Title: Donor-Adjusted Post-Shock Forecasting Version: 0.2.0 Authors@R: c( person( "Qiyang", "Wang", email = "wangqiyang497@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0009-0002-6373-440X") ), person( "Daniel J.", "Eck", email = "dje13@illinois.edu", role = "aut" ) ) Description: Implements donor-adjusted methods for forecasting conditional means and variances after structural shocks. Historical donor episodes are weighted using covariates observed before each shock, and their estimated post-shock effects are combined with forecasts from a target-series model. The methods build on Lin and Eck (2021) . The package supports donor balancing weights, structured donor pools, autoregressive integrated moving average models, and generalized autoregressive conditional heteroscedasticity models with external regressors. License: MIT + file LICENSE Encoding: UTF-8 Language: en-US Depends: R (>= 4.1.0) Imports: Rsolnp, garchx, forecast, lmtest, xts, zoo Suggests: knitr, rmarkdown, testthat (>= 3.0.0) Config/testthat/edition: 3 LazyData: true VignetteBuilder: knitr Config/roxygen2/version: 8.0.0 NeedsCompilation: no Packaged: 2026-07-27 18:21:35 UTC; root Author: Qiyang Wang [aut, cre] (ORCID: ), Daniel J. Eck [aut] Maintainer: Qiyang Wang Repository: https://cran.r-universe.dev Date/Publication: 2026-07-27 14:40:02 UTC RemoteUrl: https://github.com/cran/postshock RemoteRef: HEAD RemoteSha: 64e767b022bc03b6d0794a2cfe42914cf2b6cd16