Initialize - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


TimeSeriesAnalysis

  

Initialize

  

initialize an exponential smoothing model

 

Calling Sequence

Parameters

Description

Examples

References

Compatibility

Calling Sequence

Initialize(model, ts)

Parameters

model

-

Exponential smoothing model

ts

-

Time series consisting of a single data set

Description

• 

The Initialize command initializes the optimization process run by Optimize for finding suitable parameters and initial conditions for a specialized Exponential smoothing model.

• 

It returns a table, indexed by the names of parameters or initial conditions. The value corresponding to an index is the number that that parameter or initial condition will be initialized to during the optimization process.

• 

Parameters that are fixed beforehand are not given in the resulting table.

Examples

withTimeSeriesAnalysis:

Consider the following time series.

tsTimeSeries1.8,3.4,2.1,2.9,2.4,2.9,2.5,3.1,period=2

tsTime seriesdata set8 rows of data:2016 - 2023

(1)

Specialize this into all applicable models.

modelsSpecializeExponentialSmoothingModel,ts

models< an ETS(A,A,A) model >&comma;< an ETS(A,A,N) model >&comma;< an ETS(A,Ad,A) model >&comma;< an ETS(A,Ad,N) model >&comma;< an ETS(A,N,A) model >&comma;< an ETS(A,N,N) model >&comma;< an ETS(M,A,A) model >&comma;< an ETS(M,A,M) model >&comma;< an ETS(M,A,N) model >&comma;< an ETS(M,Ad,A) model >&comma;< an ETS(M,Ad,M) model >&comma;< an ETS(M,Ad,N) model >&comma;< an ETS(M,M,M) model >&comma;< an ETS(M,M,N) model >&comma;< an ETS(M,Md,M) model >&comma;< an ETS(M,Md,N) model >&comma;< an ETS(M,N,A) model >&comma;< an ETS(M,N,M) model >&comma;< an ETS(M,N,N) model >

(2)

Next, initialize each of these models.

initialization_tablesmapInitialize&comma;models&comma;ts

initialization_tablestableβ=110&comma;s=−0.3750000000000000.512500000000000&comma;b0=0.0351190476190477&comma;α=12&comma;γ=1100&comma;l0=2.41071428571428&comma;tableβ=110&comma;b0=0.0773809523809526&comma;α=12&comma;l0=2.28928571428571&comma;tableβ=110&comma;s=−0.3750000000000000.512500000000000&comma;b0=0.0351190476190477&comma;α=12&comma;γ=1100&comma;φ=0.978&comma;l0=2.41071428571428&comma;tableβ=110&comma;b0=0.0773809523809526&comma;α=12&comma;φ=0.978&comma;l0=2.28928571428571&comma;tables=−0.3812500000000000.518750000000000&comma;α=12&comma;γ=1100&comma;l0=2.56875000000000&comma;tableα=12&comma;l0=2.63750000000000&comma;tableβ=110&comma;s=−0.3750000000000000.512500000000000&comma;b0=0.0351190476190477&comma;α=12&comma;γ=1100&comma;l0=2.41071428571428&comma;tableβ=110&comma;s=0.8678777973255601.22504867885882&comma;b0=0.0471683829401126&comma;α=12&comma;γ=1100&comma;l0=2.31025399169193&comma;tableβ=110&comma;b0=0.0773809523809526&comma;α=12&comma;l0=2.28928571428571&comma;tableβ=110&comma;s=−0.3750000000000000.512500000000000&comma;b0=0.0351190476190477&comma;α=12&comma;γ=1100&comma;φ=0.978&comma;l0=2.41071428571428&comma;tableβ=110&comma;s=0.8663373208274781.22045629439217&comma;b0=0.0474547670432530&comma;α=12&comma;γ=1100&comma;φ=0.978&comma;l0=2.31594155793230&comma;tableβ=110&comma;b0=0.0773809523809526&comma;α=12&comma;φ=0.978&comma;l0=2.28928571428571&comma;tableβ=110&comma;s=0.8664119113811891.22047262484913&comma;b0=1.02015799136523&comma;α=12&comma;γ=1100&comma;l0=2.30027768778461&comma;tableβ=110&comma;b0=1.03693927243796&comma;α=12&comma;l0=2.19796110842741&comma;tableβ=110&comma;s=0.8664119113811891.22047262484913&comma;b0=1.02015799136523&comma;α=12&comma;γ=1100&comma;φ=0.978&comma;l0=2.30027768778461&comma;tableβ=110&comma;b0=1.03693927243796&comma;α=12&comma;φ=0.978&comma;l0=2.19796110842741&comma;tables=−0.3809891091774520.519010890822548&comma;α=12&comma;γ=1100&comma;l0=2.55701180603960&comma;tables=0.8694900847111761.21615190130110&comma;α=12&comma;γ=1100&comma;l0=2.51642347897302&comma;tableα=12&comma;l0=2.58767635294028

(3)

Because the models have different sets of parameters, the tables have different sets of indices.

mapprint&comma;mapindices&comma;initialization_tables&comma;nolist&colon;

β&comma;s&comma;b0&comma;α&comma;γ&comma;l0

β&comma;b0&comma;α&comma;l0

β&comma;s&comma;b0&comma;α&comma;γ&comma;φ&comma;l0

β&comma;b0&comma;α&comma;φ&comma;l0

s&comma;α&comma;γ&comma;l0

α&comma;l0

β&comma;s&comma;b0&comma;α&comma;γ&comma;l0

β&comma;s&comma;b0&comma;α&comma;γ&comma;l0

β&comma;b0&comma;α&comma;l0

β&comma;s&comma;b0&comma;α&comma;γ&comma;φ&comma;l0

β&comma;s&comma;b0&comma;α&comma;γ&comma;φ&comma;l0

β&comma;b0&comma;α&comma;φ&comma;l0

β&comma;s&comma;b0&comma;α&comma;γ&comma;l0

β&comma;b0&comma;α&comma;l0

β&comma;s&comma;b0&comma;α&comma;γ&comma;φ&comma;l0

β&comma;b0&comma;α&comma;φ&comma;l0

s&comma;α&comma;γ&comma;l0

s&comma;α&comma;γ&comma;l0

α&comma;l0

(4)

Every model contains l0, the initial value for the variable t. The values are different for different models:

mapxxl0&comma;initialization_tables

2.41071428571428&comma;2.28928571428571&comma;2.41071428571428&comma;2.28928571428571&comma;2.56875000000000&comma;2.63750000000000&comma;2.41071428571428&comma;2.31025399169193&comma;2.28928571428571&comma;2.41071428571428&comma;2.31594155793230&comma;2.28928571428571&comma;2.30027768778461&comma;2.19796110842741&comma;2.30027768778461&comma;2.19796110842741&comma;2.55701180603960&comma;2.51642347897302&comma;2.58767635294028

(5)

On the other hand, α (also present in all models) is always initialized to 12.

mapxxα&comma;initialization_tables

12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12&comma;12

(6)

References

  

Hyndman, R.J. and Athanasopoulos, G. (2013) Forecasting: principles and practice. http://otexts.org/fpp/. Accessed on 2013-10-09.

  

Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D. (2008) Forecasting with Exponential Smoothing: The State Space Approach. Springer Series in Statistics. Springer-Verlag Berlin Heidelberg.

Compatibility

• 

The TimeSeriesAnalysis[Initialize] command was introduced in Maple 18.

• 

For more information on Maple 18 changes, see Updates in Maple 18.

See Also

Exponential smoothing model

LogLikelihood

Optimize

Specialize

TimeSeriesAnalysis