ARToPacf: Reparametrize AR Coefficients In Terms of PACF

Description Usage Arguments Details Value Warning Author(s) References See Also Examples

Description

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

Usage

1
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

InvertibleQ, PacfToAR

Examples

1
2
3
4
5
6
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 documentation built on May 2, 2019, 3:22 a.m.