Skip to content
Prev 5217 / 15274 Next

A VaR question

Hi RON70

Not sure about what you want to do... So you want to simulate a VAR with 
those parameters? There is the function TVAR.simin package tsDyn that 
allow you to simulate a VAR, see:

co<-matrix(c(0.985,  0.283, -1.714,  0.125,  1.100, -1.491,0.071, 
-0.089,  1.388), ncol=3, byrow=TRUE)
library(tsDyn)

TVAR.sim(B=cbind(co,co),nthresh=0, inc="none", lag=2)

Hope this is what you wanted?

MAT2009

RON70 a ?crit :