v3 tagging done
This commit is contained in:
+4
-3
@@ -83,10 +83,11 @@ g1
|
||||
# test <- VAR(issues_s[,2:11], p=1, type="none")
|
||||
# VAR(issues_s[,2:23], p=1, type=c("const", "trend", "both", "none"), season=NULL, exogen = issues_i[2:22])
|
||||
|
||||
issues_ts <- as.ts(issues)
|
||||
vIssues <- VAR(issues_ts[,2:44], p=1, type="both")
|
||||
issues_ts <- as.ts(issues[,2:44])
|
||||
VARselect(issues_ts, lag.max = 5, type = "both")
|
||||
vIssues <- VAR(issues_ts, p=5, type="both")
|
||||
|
||||
plot(irf(test, impulse = names(issues_s[2:23]), response = names(issues_i[2:22])))
|
||||
plot(irf(vIssues, impulse = names(issues_s[2:23]), response = names(issues_i[2:22])))
|
||||
|
||||
capture.output(print(summary(test), prmsd=TRUE, digits=1), file="out.txt")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user