Package: cforecast
Type: Package
Title: Conditional Forecasting and Scenario Analysis Using VAR Models
Version: 0.1.0
Authors@R: 
    person(given = "Tim",
           family = "Ginker",
           role = c("aut", "cre"),
           email = "tim.ginker@gmail.com")
Maintainer: Tim Ginker <tim.ginker@gmail.com>
Description: 
    Provides tools for conducting scenario analysis in reduced-form vector autoregressive (VAR) models. 
    Implements a Kalman filtering framework to generate forecasts under 
    path restrictions on selected variables. The package enables decomposition 
    of conditional forecasts into variable-specific contributions, and extraction 
    of observation weights. It also computes measures of overall and marginal variable importance to enhance 
    the economic interpretation of forecast revisions. The framework is 
    structurally agnostic and suited for policy analysis, stress testing, 
    and macro-financial applications. The methodology is described in more detail in
    Caspi and Ginker (2026) <doi:10.13140/RG.2.2.25225.51040>.
Depends: R (>= 3.5.0)
Imports: BVAR, dplyr, FKF, miscTools, tibble, vars, utils, methods, wex
License: GPL (>= 3)
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.3
URL: https://github.com/timginker/cforecast
BugReports: https://github.com/timginker/cforecast/issues
NeedsCompilation: no
Packaged: 2026-03-04 11:09:48 UTC; timgi
Author: Tim Ginker [aut, cre]
Repository: CRAN
Date/Publication: 2026-03-09 11:00:15 UTC
Built: R 4.7.0; ; 2026-04-28 04:06:27 UTC; windows
