Practice free

FORECAST.ETS.STAT function

FORECAST.ETS.STAT returns one chosen statistic, such as a parameter or error measure, from the fitted FORECAST.ETS model. It lets you judge how well the model matches your history.

Example

Practice this in the app

Syntax

FORECAST.ETS.STAT(values, timeline, statistic_type, [seasonality], [data_completion], [aggregation])

Arguments in [square brackets] are optional.

values (required)
Historical values.
timeline (required)
Dates or numbers with a constant step.
statistic_type (required)
Number 1 to 8 choosing which statistic (alpha, beta, gamma, MASE, SMAPE, MAE, RMSE, step size).
seasonality (optional)
1 auto, 0 none, or season length.
data_completion (optional)
1 interpolate (default), 0 zeros.
aggregation (optional)
How to merge duplicate timestamps.

Returns: One chosen statistic describing the fitted smoothing model.

What Excel actually returns

Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.

FormulaExcel showsCase
=FORECAST.ETS.STAT(Data!AF1:AF24,Data!AE1:AE24,1) 0.751 statistic_type 1
=FORECAST.ETS.STAT(Data!AF1:AF24,Data!AE1:AE24,2) 0.001 statistic_type 2
=FORECAST.ETS.STAT(Data!AF1:AF24,Data!AE1:AE24,3) 0.001 statistic_type 3
=FORECAST.ETS.STAT(Data!AF1:AF24,Data!AE1:AE24,4) 0 statistic_type 4
=FORECAST.ETS.STAT(Data!AF1:AF24,Data!AE1:AE24,5) 0 statistic_type 5
=FORECAST.ETS.STAT(Data!AF1:AF24,Data!AE1:AE24,6) 0 statistic_type 6
=FORECAST.ETS.STAT(Data!AF1:AF24,Data!AE1:AE24,9) #NUM! statistic_type 9
=FORECAST.ETS.STAT(Data!AF1:AF24,Data!AE1:AE24,0) #NUM! statistic_type 0

The Data sheet these formulas read

A cell that starts with = holds that formula.

Watch out for

  • statistic_type must be an integer from 1 to 8.
  • Specialist output; most users only need the forecast itself.

Where it works

Excel
FORECAST.ETS.STAT arrived in Excel 2016. Older versions do not have it.
Google Sheets
No direct equivalent. No Sheets counterpart.

Part of Statistical functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .