fevd_orthogonal: Forcast Error Variance Decomposition for PVAR
Description
Computes the forecast error variance decomposition of a PVAR(p) model.
Usage
fevd_orthogonal(model, n.ahead = 10)
# S3 method for pvargmm
fevd_orthogonal(model, n.ahead = 10)
# S3 method for pvarfeols
fevd_orthogonal(model, n.ahead = 10)
Value
A list with forecast error variances as matrices for each variable.
Arguments
model
A PVAR model
n.ahead
Number of steps
Details
The estimation is based on orthogonalised impulse response functions.
References
Pfaff, B. (2008) VAR, SVAR and SVEC Models: Implementation Within R Package vars, Journal of Statistical Software27(4) https://www.jstatsoft.org/v27/i04/