powered by
Given the coefficients of the AR and MA parts of an ARMA model, this function calculates the pi weights
pi.weights.wge(phi = 0, theta = 0, lag.max =5)
A vector containing pi(1), ..., pi(lag.max)
Vector of AR coefficients (as in "Applied Time Series Analysis with R, 2nd edition" by Woodward, Gray, and Elliott (uses Box and Jenkins notation))
Vector of MA coefficients (as in ATSA and Box Jenkins texts)
The function will calculates psi weights pi(1), pi(2), ..., pi(lag.max). Note that psi(0)=1.
Wayne Woodward
"Applied Time Series Analysis with R, 2nd edition" by Woodward, Gray, and Elliott
pi.weights.wge(phi=c(1.2,-.6), theta=.5, lag.max=5)
Run the code above in your browser using DataLab