fitted.Arima {forecast}R Documentation

One-step in-sample forecasts using ARIMA models

Description

Returns one-step forecasts for the data used in fitting the ARIMA model.

Usage

## S3 method for class 'Arima'
fitted(object,...)

Arguments

object

An object of class "Arima". Usually the result of a call to arima.

...

Other arguments.

Value

An time series of the one-step forecasts.

Author(s)

Rob J Hyndman

See Also

forecast.Arima.

Examples

fit <- Arima(WWWusage,c(3,1,0))
plot(WWWusage)
lines(fitted(fit),col=2)

[Package forecast version 3.24 Index]