Description Usage Arguments Details Value Author(s) References See Also Examples
The ARz subset model is defined by taking a subset of the
partial autocorrelations (zeta parameters) in the AR(p) model.
With this function one can obtain the
standard deviations of the residual autocorrelations which can
be used for diagnostic checking with RacfPlot
.
1 | VarianceRacfARz(zeta, lags, MaxLag, n)
|
zeta |
zeta parameters (partial autocorrelations) |
lags |
lags in model |
MaxLag |
covariance matrix for residual autocorrelations at lags 1,...,m, where m=MaxLag is computes |
n |
length of time series |
The covariance matrix of the residual autocorrelations in the subset ARz case is derived in McLeod and Zhang (2006, eqn. 16)
The m-by-m covariance matrix of residual autocorrelations at lags 1,...,m, where m = MaxLag.
A.I. McLeod and Y. Zhang
McLeod, A.I. and Zhang, Y. (2006). Partial autocorrelation parameterization for subset autoregression. Journal of Time Series Analysis, 27, 599-612.
VarianceRacfAR
,
VarianceRacfARz
,
RacfPlot
1 2 3 4 | #the standard deviations of the first 5 residual autocorrelations
#to a subset AR(1,2,6) model fitted to Series A is
v<-VarianceRacfARp(c(0.36,0.23,0.23),c(1,2,6), 5, 197)
sqrt(diag(v))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.