Description Usage Arguments Details Value Note Author(s) References See Also Examples
Computes the variance-covariance matrix for the residual autocorrelations in an AR(p).
1 | VarianceRacfAR(phi, MaxLag, n)
|
phi |
vector of AR coefficients |
MaxLag |
covariance matrix for residual autocorrelations at lags 1 ,..., m, where m = MaxLag is computes |
n |
length of time series |
The covariance matrix for the residual autocorrelations
is derived in McLeod (1978, eqn. 15) for the general ARMA case.
With this function one can obtain the
standard deviations of the residual autocorrelations which can
be used for diagnostic checking with RacfPlot
.
The m-by-m covariance matrix of residual autocorrelations at lags 1, ..., m, where m = MaxLag.
The derivation assumes normality of the innovations, mle estimation of the parameters and a known mean-zero time series. It is easily seen that the same result still holds for IID innovations with mean zero and finite variance, any first-order efficient estimates of the parameters including the AR coefficients and mean.
A.I. McLeod
McLeod, A.I. (1978), On the distribution and applications of residual autocorrelations in Box-Jenkins modelling, Journal of the Royal Statistical Society B, 40, 296–302
VarianceRacfARp
,
VarianceRacfARz
,
RacfPlot
1 | VarianceRacfAR(0.5,5,100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.