ID EN
#Statistical

FORECAST.ETS.CONFINT

Excel Functions

Get confidence interval for forecast value at given date

Syntax

EXCEL
=FORECAST.ETS.CONFINT(target_date, values, timeline, [confidence_level], [seasonality], [data_completion], [aggregation])

Arguments

Parameter Description
target_date The time or period for the prediction (x value).
values Existing or historical values (y values).
timeline Numeric timeline values (x values).
confidence_level [optional] A number between 0 and 1 (exclusive). Default = 0.95.
seasonality [optional] Seasonality calculation (0 = no seasonality, 1 = automatic, n = season length in timeline units).
data_completion [optional] Missing data treatment (0 = treat as zero, 1 = average). Default is 1.
aggregation [optional] Aggregation behavior. Default is 1 (AVERAGE). See other options below.

Return Value

Confidence interval value

Details

The FORECAST.ETS.CONFINT function returns a confidence interval for a forecast value at a specific point on a timeline (i.e. a target date or period). It is designed to be used along with the FORECAST.ETS function as a way to show forecast accuracy. In the example shown above, the formula in cell E13 is: where sales (C5:C12), periods (B5:B12), and confidence (J4) are named ranges. With these inputs, the FORECAST.ETS.CONFINT returns 198.92 in cell E13. This formula is copied down the table, and the resulting confidence interval values in column "CI" are used to calculate the upper and lower bounds of the forecast, as explained below. The forecast value in cell D13 is calculated with the FORECAST.ETS function like this: The upper and lower range formulas in F13 and G13 are:

Examples

Example

In the example shown above, the formula in cell E13 is:

EXCEL
=FORECAST.ETS.CONFINT(B13,sales,periods,confidence)
Example

The forecast value in cell D13 is calculated with the FORECAST.ETS function like this:

EXCEL
=FORECAST.ETS(B13,sales,periods,4)
Example

The upper and lower range formulas in F13 and G13 are:

EXCEL
=D13+E13 // upper
=D13-E13 // lower

See Also

FORECAST FORECAST.LINEAR FORECAST.ETS FORECAST.ETS.CONFINT FORECAST.ETS.SEASONALITY FORECAST.ETS.STAT