VARpsi | R Documentation |
Computes the psi-weight matrices of a VAR model
VARpsi(Phi, lag = 5)
Phi |
A k-by-kp matrix of VAR coefficients in the form Phi=[Phi1, Phi2, ..., Phip] |
lag |
Number of psi-weight lags |
Psi-weights of a VAR model
Ruey S. Tsay
Tsay (2014, Chapter 2). Multivariate Time Series Analysis with R and Financial Applications. John Wiley. Hoboken, NJ.
p1=matrix(c(0.2,-0.6,0.3,1.1),2,2) m1=VARpsi(p1,4) names(m1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.