forecast function!

fcst(type, ...)

Arguments

type

either arma, aruma, sigplusnoise, or other tswge model. No quotes

...

the normal inputs to tswge

Value

a forecast

Examples

fcst(arma, LakeHuron, phi = 0.2)
#> $f #> [1] 579.1953 579.0423 #> #> $ll #> [1] 577.0400 576.8443 #> #> $ul #> [1] 581.3506 581.2403 #> #> $resid #> [1] 0.000000000 2.580734694 1.394734694 1.402734694 0.426734694 #> [6] 1.228734694 1.138734694 1.532734694 2.032734694 1.836734694 #> [11] 1.972734694 2.188734694 1.630734694 1.092734694 0.700734694 #> [16] 0.704734694 -0.045265306 0.128734694 0.514734694 0.556734694 #> [21] -0.697265306 -0.651265306 0.248734694 0.066734694 0.328734694 #> [26] -0.253265306 0.352734694 -0.057265306 -0.005265306 0.796734694 #> [31] 0.666734694 0.550734694 0.742734694 0.828734694 0.164734694 #> [36] -0.387265306 -0.751265306 -0.171265306 0.612734694 -0.193265306 #> [41] -0.897265306 0.548734694 1.052734694 0.910734694 0.278734694 #> [46] 0.134734694 -0.391265306 -0.075265306 -0.925265306 -1.023265306 #> [51] -2.011265306 -1.803265306 -0.733265306 -0.127265306 1.648734694 #> [56] 0.160734694 -1.719265306 -1.779265306 -1.643265306 -2.351265306 #> [61] -1.611265306 -1.721265306 -1.673265306 -0.793265306 -0.581265306 #> [66] -1.329265306 -1.475265306 -0.229265306 0.722734694 -0.075265306 #> [71] 0.246734694 0.164734694 0.332734694 0.020734694 -1.073265306 #> [76] -0.673265306 0.922734694 1.696734694 1.036734694 0.674734694 #> [81] 0.414734694 -0.365265306 -0.775265306 -1.629265306 -1.515265306 #> [86] 0.470734694 -0.773265306 -0.943265306 -1.895265306 -2.621265306 #> [91] -1.595265306 -0.883265306 -0.359265306 -0.359265306 0.832734694 #> [96] 0.158734694 0.824734694 0.778734694 #> #> $wnv #> [1] 1.209219 #> #> $se #> [1] 1.099645 1.121422 #> #> $psi #> [1] 0.20 0.04 #>