arimas_monte | R Documentation |
Run Monte Carlo Simulation of Multiple ARIMA Models
arimas_monte(models, n, n.iter)
models |
list of arima model objects (e.g. noise and wavelet components) |
n |
number of simulation timesteps |
n.iter |
number of monte carlo iterations |
library(forecast) models <- list(COMPONENT=auto.arima(sin(1:50)+rnorm(50)+10, max.p=2, max.q=2, max.P=0, max.Q=0, stationary=TRUE), NOISE=auto.arima(rnorm(50), max.p=2, max.q=2, max.P=0, max.Q=0, stationary=TRUE)) arimas_monte(models, n=40, n.iter=100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.