dot-check_external_consistency: Check shocks for length consistency and warn about risks of...

Description Usage Arguments Details Author(s)

Description

This function makes two checks:

Usage

1
.check_external_consistency(external, periods = periods)

Arguments

external

An .eq_as_tb() tibble with external variables.

periods

The periods of the baseline model.

Details

  1. The exogenous variable is a constant that is repeated over time;

  2. The exogenous variable has exactly the same length as the shock.

Furthermore, it throws a warning that using exogenous series in a shock can lead to unexpected behavior if the length of the shock is not the same as the periods in the scenario.

Author(s)

João Macalós


joaomacalos/sfcr documentation built on Dec. 30, 2021, 9:54 a.m.