powered by
um creates an S3 object representing a univariate ARIMA model, which can contain multiple AR, I and MA polynomials, as well as parameter restrictions.
um
um( z = NULL, ar = NULL, i = NULL, ma = NULL, mu = NULL, sig2 = 1, bc = FALSE, fit = TRUE, envir = parent.frame(), warn = TRUE, ... )
An object of class um.
an object of class ts.
ts
list of stationary AR lag polynomials.
list of nonstationary AR (I) polynomials.
list of MA polynomials.
mean of the stationary time series.
variance of the error.
logical. If TRUE logs are taken.
logical. If TRUE, model is fitted.
the environment in which to look for the time series z when it is passed as a character string.
logical. If TRUE, a warning is displayed for non-admissible models.
additional arguments.
Box, G.E.P., Jenkins, G.M., Reinsel, G.C. and Ljung, G.M. (2015) Time Series Analysis: Forecasting and Control. John Wiley & Sons, Hoboken.
ar1 <- um(ar = "(1 - 0.8B)") ar2 <- um(ar = "(1 - 1.4B + 0.8B^2)") ma1 <- um(ma = "(1 - 0.8B)") ma2 <- um(ma = "(1 - 1.4B + 0.8B^2)") arma11 <- um(ar = "(1 - 1.4B + 0.8B^2)", ma = "(1 - 0.8B)")
Run the code above in your browser using DataLab