psi.weights | R Documentation |
Computes the coefficients of the (potentially) infinite moving average (MA) model representation of an ARMA model (using the Box-Jenkins convention for the sign of the MA coefficients). These coefficients can also be viewed as the impulse response function of the ARMA model.
psi.weights(ar = numeric(), ma = numeric(), lag.max = 10)
ar |
Vector of autoregressive (AR) coefficients (default is none). |
ma |
Vector of moving average (MA) coefficients (default is none). |
lag.max |
number of psi weights to compute |
A vector of lag.max coefficients.
psi.weights(ar=0.5) psi.weights(ar=0.5, ma=-0.5) psi.weights(ar=0.9, ma=-0.9) psi.weights(ar=0.99) psi.weights(ar=0.5, ma=0.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.