Phi {vars} | R Documentation |
Coefficient matrices of the MA represention
Description
Returns the estimated coefficient matrices of the moving average representation of a stable VAR(p), of an SVAR as an array or a converted VECM to VAR.
Usage
## S3 method for class 'varest'
Phi(x, nstep=10, ...)
## S3 method for class 'svarest'
Phi(x, nstep=10, ...)
## S3 method for class 'svecest'
Phi(x, nstep=10, ...)
## S3 method for class 'vec2var'
Phi(x, nstep=10, ...)
Arguments
x |
An object of class ‘ |
nstep |
An integer specifying the number of moving error coefficient matrices to be calculated. |
... |
Currently not used. |
Details
If the process is stationary (i.e.
,
it has a Wold moving average representation in the form of:
whith and the matrices
can be computed
recursively according to:
whereby are set to zero for
. The matrix elements
represent the impulse responses of the components of
with respect to the shocks
. More precisely, the
th element of the matrix
mirrors the expected
response of
to a unit change of the variable
.
In case of a SVAR, the impulse response matrices are given by:
Albeit the fact, that the Wold decomposition does not exist for
nonstationary processes, it is however still possible to compute the
matrices likewise with integrated variables or for the
level version of a VECM. However, a convergence to zero of
as i tends to infinity is not ensured; hence some shocks
may have a permanent effect.
Value
An array with dimension holding the
estimated coefficients of the moving average representation.
Note
The first returned array element is the starting value, i.e.,
.
Author(s)
Bernhard Pfaff
References
Hamilton, J. (1994), Time Series Analysis, Princeton University Press, Princeton.
Lütkepohl, H. (2006), New Introduction to Multiple Time Series Analysis, Springer, New York.
See Also
Examples
data(Canada)
var.2c <- VAR(Canada, p = 2, type = "const")
Phi(var.2c, nstep=4)