Syntax
=FORECAST.ETS.SEASONALITY(values, timeline, [data_completion], [aggregation])Arguments
| Argument | Required | Description |
|---|---|---|
values | Required | The historical values |
timeline | Required | The dates or numbers of the values, evenly spaced |
data_completion | Optional | 1 or left out to fill missing points by interpolation, 0 to use zeros |
aggregation | Optional | How to combine values with the same date: 1 average (default) to 7 sum |
How to use FORECAST.ETS.SEASONALITY
FORECAST.ETS.SEASONALITY takes 2 required arguments and 2 optional arguments. Type =FORECAST.ETS.SEASONALITY( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=FORECAST.ETS.SEASONALITY({1,5,9,1,5,9,1,5,9,1,5,9}, {1,2,3,4,5,6,7,8,9,10,11,12})Result Related statistical functions
- FISHERINVReturns the inverse of the Fisher transformation.
- FORECASTPredicts a value for x from the straight line that best fits known x and y values.
- FORECAST.ETSPredicts a future value with additive exponential triple smoothing (level, trend and season).
- FORECAST.ETS.CONFINTReturns the half width of the confidence interval around a FORECAST.ETS prediction.
- FORECAST.ETS.STATReturns a statistic of the exponential smoothing model: 1 alpha, 2 beta, 3 gamma, 4 MASE, 5 SMAPE, 6 MAE, 7 RMSE, 8 step size.
- FORECAST.LINEARPredicts a value for x from the straight line that best fits known x and y values.
- FREQUENCYCounts how many values fall into each bin and returns a vertical list with one more entry than there are bins.
- GAMMAReturns the gamma function value.
- GAMMA.DISTReturns the gamma distribution.