sarima_random | R Documentation |
Simulate Seasonal ARIMA
sarima_random(model, length, stde = 1, tdegree = 0, seed = -1)
model |
a |
length |
length of the output series. |
stde |
deviation of the normal distribution of the innovations of the simulated series.
Unused if |
tdegree |
degrees of freedom of the T distribution of the innovations.
|
seed |
seed of the random numbers generator. Negative values mean random seeds |
# Airline model
s_model <- sarima_model(period = 12, d = 1, bd = 1, theta = 0.2, btheta = 0.2)
x <- sarima_random(s_model, length = 64, seed = 0)
plot(x, type = "l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.