- Home
- FORECAST.ETS.SEASONALITY Function
FORECAST.ETS.SEASONALITY Function
The FORECAST.ETS.SEASONALITY function is one of the statistical functions. It is used to return the length of the repetitive pattern the application detects for the specified time series.
Syntax
FORECAST.ETS.SEASONALITY(values, timeline, [data_completion], [aggregation])
The FORECAST.ETS.SEASONALITY function has the following arguments:
Argument | Description |
---|---|
values | A range of the historical values for which you want to predict a new point. |
timeline | A range of date/time values that correspond to the historical values. The timeline range must be of the same size as the values range. Date/time values must have a constant step between them (although up to 30% of missing values can be processed as specified by the data_completion argument and duplicate values can be aggregated as specified by the aggregation argument). |
data_completion | A numeric value that specifies how to process the missing data points in the timeline data range. It is an optional argument. The possible values are listed in the table below. |
aggregation | A numeric value that specifies which function should be used to aggregate identical time values in the timeline data range. It is an optional argument. The possible values are listed in the table belows. |
The data_completion argument can be one of the following:
Numeric value | Behavior |
---|---|
1 or omitted | Missing points are calculated as the average of the neighbouring points. |
0 | Missing points are treated as zero values. |
The aggregation argument can be one of the following:
Numeric value | Function |
---|---|
1 or omitted | AVERAGE |
2 | COUNT |
3 | COUNTA |
4 | MAX |
5 | MEDIAN |
6 | MIN |
7 | SUM |
Notes
How to apply the FORECAST.ETS.SEASONALITY function.
Examples
The figure below displays the result returned by the FORECAST.ETS.SEASONALITY function.
Host ONLYOFFICE Docs on your own server or use it in the cloud
Article with the tag:
Browse all tags