SARIMA | R Documentation |
Sets up the necessary backend for the SARIMA process.
SARIMA(ar = 1, i = 0, ma = 1, sar = 1, si = 0, sma = 1, s = 12, sigma2 = 1)
ar |
A |
i |
An |
ma |
A |
sar |
A |
si |
An |
sma |
A |
s |
An |
sigma2 |
A |
A variance is required since the model generation statements utilize randomization functions expecting a variance instead of a standard deviation unlike R.
An S3 object with called ts.model with the following structure:
AR*p
, MA*q
, SAR*P
, SMA*Q
\sigma
Number of parameters
Type of model
Type of model (after simplification)
String containing simplified model
y desc replicated x times
Depth of Parameters e.g. list(c(length(ar), length(ma), length(sar), length(sma), 1, i, si) )
Guess Starting values? TRUE or FALSE (e.g. specified value)
James Balamuta
# Create an SARIMA(1,1,2)x(1,0,1) process
SARIMA(ar = 1, i = 1, ma = 2, sar = 1, si = 0, sma =1)
# Creates an SARMA(1,0,1)x(1,1,1) process with predefined coefficients.
SARIMA(ar=0.23, i = 0, ma=0.4, sar = .3, sma = .3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.