The core algorithm of the ATA Method
ATA.Core(X, pk, qk, phik, mdlType, initialLevel, initialTrend)
A numeric vector or time series.
Value of Level parameter.
Value of Trend parameter.
Value of Damping Trend parameter.
An one-character string identifying method using the framework terminology.
"none" is default,
none : ATA Method calculates the pth observation in X
for level.
mean : ATA Method calculates average of first p value in X
for level.
median: ATA Method calculates median of first p value in X
for level.
"none" is default,
none : ATA Method calculates the qth observation in X
for trend.
mean : ATA Method calculates average of first q value in X(T)-X(T-1)
for trend.
median: ATA Method calculates median of first q value in X(T)-X(T-1)
for trend.
Returns an object of class "ATA
"