The Forecast.Ets.Stat function in Excel creates a statistical value based on a time series forecast.
Syntax :
=FORECAST.ETS.STAT( values, timeline, statistic_type, [seasonality], [data completion], [aggregation] )
Parameters :
values –
Timeline –
statistic type –
[seasonality] –
[seasonality] | Algorithm |
---|---|
0 | No seasonality (i.e. use the linear algorithm for the forecast). |
1 (or omitted) | Automatically calculate the seasonality and use positive, whole numbers for the length of the seasonal pattern. |
integer ≥ 2 & ≤ 8784 | Use patterns of this length as the seasonality. |
[data completion] –
[data completion] | Algorithm |
---|---|
0 | Treat missing points as having the value zero. |
1 (or omitted) | Calculate the value for missing points to be the average of the neighbouring values. |
[aggregation] –
[aggregation] | Aggregation Method |
---|---|
1 (or omitted) | Average |
2 | Count |
3 | Counta |
4 | Max |
5 | Median |
6 | Min |
7 | Sum |
Example :
The spreadsheet on the right displays a series of monthly earnings from January 2015 to April 2017. The following values are presented in the chart:
The expected earnings for May 2017 were originally computed by the Forecast.Ets function to be 1461.632054.
The Forecast.Ets.Stat function in Excel may be used to return statistical information about this forecast. For example, in order to return the ETS algorithm’s Alpha parameter:
=FORECAST.ETS.STAT( B2:B29, A2:A29, 1 )
which yields 0.126.
If you wish to return the step size identified by the ETS algorithm, use the following code:
=FORECAST.ETS.STAT( B2:B29, A2:A29, 8 )
which produces the value 31.
Ask Your Query