generator function!

generate(type, ...)

Arguments

type

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

...

the normal inputs to tswge

Value

a time series

Examples

generate(arma, 100, phi = 0.2, theta = 0.4)
#> [1] -0.322388952 0.273124196 0.133073535 -0.209288127 1.557506884 #> [6] -2.470796709 0.971356682 -0.001995565 1.277383134 0.443768686 #> [11] 0.151777638 -0.187759156 0.449214378 1.184172226 0.991171144 #> [16] -0.038447299 -0.235934965 0.796301995 -0.672875785 -0.335557567 #> [21] 1.315244853 -0.141127251 0.528192153 -0.647741714 0.846882858 #> [26] 0.663560918 -0.884935857 1.279610065 0.370626000 -0.627106787 #> [31] 0.446985833 -0.599468273 1.150616981 -0.398637234 0.609722097 #> [36] -0.668924333 -2.014535650 0.687896164 -0.017691153 -0.641287927 #> [41] -1.320223841 0.342027610 0.606821843 -0.906700263 -0.096802740 #> [46] -0.276869982 0.905472704 -0.492024756 -1.143177561 -0.786802818 #> [51] 0.180078556 0.894636912 -1.188491463 0.029539460 -0.216683540 #> [56] -1.304440827 1.847036244 -0.828917844 2.251529686 0.369663464 #> [61] -0.041223696 -0.111318928 0.291087136 -1.172844169 0.974603961 #> [66] -0.133294876 -0.921846626 0.577231700 -1.193841947 0.409114277 #> [71] 0.223845900 -1.091232583 0.126264340 -1.512686721 -0.849138856 #> [76] -1.848614989 0.831314877 0.934547632 0.921411645 -1.725574782 #> [81] -0.037207449 0.950936873 -1.434182190 -0.084906820 -0.254850257 #> [86] 1.506621164 -0.518859644 0.385326523 0.447199038 0.494608689 #> [91] -0.479952627 0.782464752 -0.452903950 -0.200326081 -1.112221581 #> [96] 0.004099791 1.281122095 -0.010020261 -0.128640004 -0.979352464