powered by
easter extends the ARIMA model um by including a regression variable to capture the Easter effect.
easter
um
easter(um, ...)# S3 method for um easter(um, z = NULL, n.ahead = 0, ...)
# S3 method for um easter(um, z = NULL, n.ahead = 0, ...)
an object of class um.
additional arguments.
a time series.
a positive integer to extend the sample period of the Easter regression variable with n.ahead observations, which could be necessary to forecast the output.
n.ahead
An object of class "tfm".
tfm
# NOT RUN { Y <- rsales um1 <- um(Y, i = list(1, c(1, 12)), ma = list(1, c(1, 12)), bc = TRUE) tfm1 <- easter(um1) # }
Run the code above in your browser using DataLab