FORECAST.ETS.STAT
statistic from the ETS model · from excel · excel: differs in detail · no sheets equivalent
signature
FORECAST.ETS.STAT(values, timeline, statistic_type, [seasonality], [data_completion], [aggregation])
returns: number
| argument | required |
|---|---|
| values | required |
| timeline | required |
| statistic_type | required |
| seasonality | optional |
| data_completion | optional |
| aggregation | optional |
examples
formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | 10 | 1 | |||||
| 2 | 20 | 3 | |||||
| 3 | 30 | 5 | |||||
| 4 | 40 | 7 | |||||
| 5 | 50 | 9 |
fx
=FORECAST.ETS.STAT(A1:A5, G1:G5, 1, 1) 0.99 errors
error values observed from the engine — each with a call that produces it.
| error | produced by |
|---|---|
| #VALUE! | =FORECAST.ETS.STAT(A1:A3, 2, 2) |
related
- AVEDEV average of absolute deviations from the mean
- AVERAGE.WEIGHTED average of values weighted by a second range
- AVERAGEA averages values including text and logicals
- AVERAGEIF averages cells that match a condition
- AVERAGEIFS averages cells matching multiple conditions
- BETA.DIST beta distribution