Skip to contents

Loads data and equations, optionally re-estimates the quarterly model, and persists the fitted model, add factors, and ragged-edge metadata.

Usage

make_model(
  cfg = load_forecast_cfg(),
  data_model = NULL,
  model_equations = NULL
)

Arguments

cfg

Configuration list from [load_forecast_cfg()].

data_model

Optional preloaded xts dataset (defaults to saved output).

model_equations

Optional preloaded model definition.

Value

Invisible list with estimation results, add factors, exogenous ranges, and the underlying data.