diagnostics.plot_out_of_sample_rmse()

Plot out-of-sample RMSEs by quarters-to-publication for each region.

Usage

diagnostics.plot_out_of_sample_rmse(
    df_results,
    region_measure,
    path=None,
)

One subplot per region in a grid layout showing how forecast accuracy improves as publication approaches.

Parameters

df_results: pd.DataFrame

Out-of-sample results from ~ambric.run_out_of_sample_exercise().

region_measure: str

Regional measure name to filter on.

path: Path | None = None

Directory to save the figure. When None the figure is displayed interactively.