[go: up one dir, main page]

File: Rcode-2-5.R

package info (click to toggle)
urca 1.3-0-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 2,400 kB
  • ctags: 26
  • sloc: fortran: 501; makefile: 1
file content (11 lines) | stat: -rwxr-xr-x 336 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
## Forecasting objects of class varest
args(vars:::predict.varest)
predictions <- predict(varsimest, n.ahead = 25,
                       ci = 0.95)
class(predictions)
args(vars:::plot.varprd)
## Plot of predictions for y1
plot(predictions, names = "y1")
## Fanchart for y2
args(fanchart)
fanchart(predictions, names = "y2")