forecast.thetam {forecastHybrid}R Documentation

Forecast using a Theta model

Description

Returns forecasts and other information for univariate Theta "models"

Usage

## S3 method for class 'thetam'
forecast(
  object,
  h = ifelse(object$m > 1, 2 * object$m, 10),
  level = c(80, 95),
  fan = FALSE,
  ...
)

Arguments

object

An object of class "thetam. Usually the result of a call to link{thetam}.

h

Number of periods for forecasting

level

Confidence level for prediction intervals

fan

If TRUE, level is set to seq(51, 99, by = 3). This is suitable for fan plots.

...

Ignored

Value

An object of class forecast

Author(s)

Peter Ellis

See Also

thetam

Examples

mod1 <- thetam(Nile)
fc1 <- forecast(mod1)
plot(fc1)

[Package forecastHybrid version 5.0.19 Index]