Skip to contents

Evaluate the sensitivity of forecasts to varying exogenous values

Usage

forecast_sensitivity(model, size = 0.5, quiet = FALSE, impulse_response = TRUE)

Arguments

model

A model object of class 'osem'.

size

Numeric, must be larger than -1. The percentage value that the exogenous values will be multiplied with. Default is 0.5 (i.e. 50%).

quiet

Logical. Should messages about the forecast procedure be suppressed?

impulse_response

Logical. Should an impulse response function be calculated. Main reason to deactivate this might be improving the speed of this function.

Value

A list that contains a tibble with the original forecasts and the difference to the modified forecasts as well as plot(s).