You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(tsDyn)
data(zeroyld)
data=zeroyldrdmVar= rnorm(nrow(data));
#Fit a VECM with Johansen MLE estimatorvecm.jo.exogen= VECM(zeroyld, lag=2, estim="ML", exogen=rdmVar);
IRF.exogen= irf(vecm.jo.exogen, boot=F, ortho=F);
#> Matrix B badly specified: should have 5 columns, but has 6 #> ECT L{x1}{1} L{x2}{1} L{x1}{2} L{x2}{2}#> Equ x1 NA NA NA NA NA#> Equ x2 NA NA NA NA NA#> Error in TVECM.gen(B = B, beta = beta, n = n, lag = lag, include = include, :
See below:
Created on 2021-03-16 by the reprex package (v1.0.0)
The text was updated successfully, but these errors were encountered: