plot_res: Plot the residual

Description Usage Arguments

Description

Plot the residual

Usage

1
plot_res(current, x, dates, A, scale_trend_design, p, ...)

Arguments

current

A list object representing a changepoint model. It contains the following components: eta, xi, inference (output of the fit_eta function), change_eta, and change_xi.

x

The time series data, a numeric vector of length n.

dates

The dates records are observed, a POSIXlt vector. It should have the mon component for months, and the year component for years. See also strptime.

A

The design matrix for the nuisance coefficients in the linear model. It is usually the matrix of seasonal indicators, or the design matrix for harmonic regression with a column of all 1 for intercept.

scale_trend_design

The factor multiplied to the design matrix of trend. Default is 1/50.

p

The order of the AR process.

...

Other arguments for the plot function.


yingboli/BayesMDL documentation built on May 29, 2019, 12:18 p.m.