expsmooth.wge: Exponential Smoothing

View source: R/expsmooth.wge.R

expsmooth.wgeR Documentation

Exponential Smoothing

Description

Performs exponential smoothing on the data in vector x

Usage

expsmooth.wge(x,alpha=NULL,n.ahead=0,plot=TRUE)

Arguments

x

Vector containing realization

alpha

Alpha value

n.ahead

Number of steps ahead to forecast

plot

If plot=TRUE then plots of the data along with forecasts

Value

alpha

alpha value used in the smoothing

u

forecasts

Author(s)

Wayne Woodward

References

"Time Series for Data Science" by Woodward, Sadler, and Robertson

Examples

data(wtcrude2020)
expsmooth.wge(wtcrude2020)

tswge documentation built on Feb. 16, 2023, 6:51 p.m.