expsmooth.wge {tswge} | R 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)
[Package tswge version 2.1.0 Index]