Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

ARToPacf

Reparametrize AR Coefficients In Terms of PACF


Description

Transform AR parameter coefficients into partial autocorrelation function (PACF).

Usage

ARToPacf(phi)

Arguments

phi

vector of AR parameter coefficients

Details

For details see McLeod and Zhang (2006).

Value

Vector of length(phi) containing the parameters in the transformed PACF domain

Warning

No check for invertibility is done for maximum computational efficiency since this function is used extensively in the numerical optimization of the AR loglikelihood function in FitAR. Use InvertibleQ to test for invertible AR coefficients.

Author(s)

A.I. McLeod and Y. Zhang

References

McLeod, A.I. and Zhang, Y. (2006). Partial autocorrelation parameterization for subset autoregression. Journal of Time Series Analysis, 27, 599-612.

See Also

Examples

somePACF<-c(0.5,0.6,0.7,0.8,-0.9,-0.8)
#PacfToAR() transforms PACF to AR parameter coefficients. 
someAR<-PacfToAR(somePACF)
test<-ARToPacf(someAR)
#This should be very small
sum(abs(test-somePACF))

FitAR

Subset AR Model Fitting

v1.94
GPL (>= 2)
Authors
A.I. McLeod, Ying Zhang and Changjiang Xu
Initial release
2013-03-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.