Skip to content

cforecast

Conditional Forecasting and Scenario Analysis Using VAR Models

v0.1.0 · Mar 9, 2026 · GPL (>= 3)

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>.

CRAN Check Status

4 OK
Show all 4 flavors
Flavor Status
r-devel-linux-x86_64-fedora-clang OK
r-devel-macos-arm64 OK
r-oldrel-macos-arm64 OK
r-release-macos-arm64 OK
Check details (4 non-OK)
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-macos-arm64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-release-macos-arm64

*


            

Check History

OK 4 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026

Dependency Network

Dependencies Reverse dependencies BVAR dplyr FKF miscTools tibble vars wex cforecast

Version History

new 0.1.0 Mar 9, 2026