check_residuals {bayesforecast}R Documentation

Visual check of residuals in a varstan object.

Description

Performs a visual check of residuals in time series models, this method is inspired in the check.residuals function provided by the forecast package.

Usage

check_residuals(object, ...)

Arguments

object

a varstan object.

...

Other plotting parameters to affect the plot.

Value

None. Function produces a ggplot2 graph.

Author(s)

Asael Alonzo Matamoros.

Examples


 library(astsa)
 sf1 = auto.sarima(ts = birth,iter = 500,chains = 1)
 # fitted model
 check_residuals(sf1)



[Package bayesforecast version 1.0.1 Index]