# FORECAST.ETS.STAT

stats · from excel · excel: differs in detail · no sheets equivalent

statistic from the ETS model

## signature

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

returns: `number`

## arguments

- values: range — required
- timeline: range — required
- statistic_type: number — required
- seasonality: number — optional
- data_completion: number — optional
- aggregation: number — optional

## examples

formula and result, asserted in the engine test suite.

| formula | result | with |
| --- | --- | --- |
| `=FORECAST.ETS.STAT(A1:A5, G1:G5, 1, 1)` | `0.99` | A1=10, A2=20, A3=30, A4=40, A5=50, G1=1, G2=3, G3=5, G4=7, G5=9 |

## 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](https://deepcalc.com/functions/avedev.md) — average of absolute deviations from the mean
- [AVERAGE.WEIGHTED](https://deepcalc.com/functions/average-weighted.md) — average of values weighted by a second range
- [AVERAGEA](https://deepcalc.com/functions/averagea.md) — averages values including text and logicals
- [AVERAGEIF](https://deepcalc.com/functions/averageif.md) — averages cells that match a condition
- [AVERAGEIFS](https://deepcalc.com/functions/averageifs.md) — averages cells matching multiple conditions
- [BETA.DIST](https://deepcalc.com/functions/beta-dist.md) — beta distribution
- [BETA.INV](https://deepcalc.com/functions/beta-inv.md) — inverse of the beta distribution
- [BETADIST](https://deepcalc.com/functions/betadist.md) — legacy form of BETA.DIST (cumulative)

## navigate

- [all stats functions](https://deepcalc.com/functions/stats-functions.md)
- [function index](https://deepcalc.com/functions.md) — all 600 functions
- [error values](https://deepcalc.com/errors.md) · [concepts](https://deepcalc.com/concepts.md) · [limits](https://deepcalc.com/limits.md)
- [everything in one file](https://deepcalc.com/llms-full.txt)

source: https://deepcalc.com/functions/forecast-ets-stat