check_residuals: Visual check of residuals in a 'varstan' object.

Description Usage Arguments Value Author(s) Examples

View source: R/autoplot.R

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

1

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

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

bayesforecast documentation built on June 17, 2021, 5:14 p.m.