Skip to contents

[Stable] Summaries posterior samples and adds additional custom variables.

Usage

format_fit(posterior_samples, horizon, shift, CrIs)

Arguments

posterior_samples

A list of posterior samples as returned by format_simulation_output().

horizon

Numeric, forecast horizon.

shift

Numeric, the shift to apply to estimates.

CrIs

Numeric vector of credible intervals to calculate.

Value

A list of samples and summarised posterior parameter estimates.