X11

Syntax

X11(Input: ITimeSeries,
    Period: IMsPeriod,
    OutputSeries: MsOutputSeriesType,
    SeasonalEffect: SeasonalityType,
    TradingDaysAdjustment: MsTradingDaysAdjustment,
    LowerSigma: Double,
    UpperSigma: Double,
    MovingAverage: String,
    WeightCoefficients: String,
    HolidayAdjustment: MsHolidayAdjustment,
    SSAnalysis: Boolean)

Parameters

Input. Input variable.

Period. Period, at which the method is calculated. If the parameter value is Null, the method is calculated at the entire time period.

OutputSeries. Series type that is loaded to the output variable.

SeasonalEffect. Seasonal model.

TradingDaysAdjustment. Working day adjustment. Optional parameter. The working day adjustment is not executed by default.

LowerSigma. Sigma lower limit. Optional parameter. The parameter is set to 1.5 by default.

UpperSigma. Sigma upper limit: Optional parameter. The parameter is set to 2.5 by default.

MovingAverage. Moving average. Optional parameter. Default parameter value is not set.

WeightCoefficients. Weight coefficients. Optional parameter. Default parameter value is not set.

HolidayAdjustment. Holidays adjustment. Optional parameter. The holidays adjustment is not executed by default.

SSAnalysis. It indicates whether sliding spans are used in calculation. Optional parameter. The parameter is set to False by default - moving intervals are not applied in calculation.

Description

It executes the seasonal decomposition and adjustment of data.

NOTE. The method is supported only in Windows.

Example

Formula Result Application
= X11({Brazil|BCA[t]}, SetPeriod("2000", "2015"), MsOutputSeriesType.D10, SeasonalityType.Additive, MsTradingDaysAdjustment.Auto)

For the Brazil|BCA factor the seasonal decomposition and seasonal adjustment with automatic working day adjustment are executed for the period from 2000 to 2015.

It can be used in formulas of calculated series of time series database and in formulas of attribute-based models of modeling container.
= X11(X1, Null, MsOutputSeriesType.D10, SeasonalityType.Additive, MsTradingDaysAdjustment.No,

1.8, 2.1, "", "", MsHolidayAdjustment.None, False)

For the X1 factor seasonal decomposition and seasonal adjustment by the X11 method without the holidays adjustment and using of sliding spans is executed for the entire period. It can be used in model variable-based formulas of modeling container.

See also:

Functions Available in Expression Editor │ SmoothingIModelling.X11 | TheX11 method