













Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!














Times Series Analysis
ð Past value ð Average ð Weighted average
ðSimple exponential smoothing ðOther exponential smoothing
Classification of the main Time Series Analysis techniques
Mean Error Mean Squared Error (MSE) Mean Absolute Error (MAE) Average of the sum of all forecast errors for the historical data. Average of the sum of all squared forecast errors for the historical data. It is the average of the sum of all absolute values of all the forecast errors. One major difference between MSE and MAE is that the MSE measure is influenced much more by large forecast errors than by small errors. Forecast Error et = Yt - Ft where Y is real data and F the forecast
Next method would be average of the previous periods: An sophistication of the use of an average is applying a “moving average”. Moving average Average of prior periods that is continually recomputed by adding each new data at the same time old data is dropped so the "period window" used has always the same length. For instance, for a 3 period average s= The smaller the number k, the more weight is given to recent periods. The greater the number k, the less weight is given to more recent periods.
Period Sales MA3 MA4 MA 24 6.00 5.90 5.70 5. 25 5.80 5.97 5.93 5. 26 5.67 5.93 5. ME 0.07 0.06 0. MSE 0.40 0.35 0. MAE 0.51 0.48 0. If we apply this techniques to case one variable, the following forecast are obtained The more observations are included in the moving average, the greater the smoothing effect.
Definition
It is a special case of the weighted moving averages method in which we emphasize recent information and systematically discount old information. The Simple Exponential Smoothing method is used for forecasting a time series when there is no trend or seasonal pattern, but the mean (or level) of the time series yt is slowly changing over time.
1 2 1 1 1 1
− − − −
t t t t t t t t t
α α α α α α α α α α t t t F = α y + ( − α )F
1 The forecast F t+ is based on weighting the most recent observation y t with a weight α and weighting the most recent forecast F t with a weight of 1- α. where Ft + 1 = forecast value for period t + 1 ; Yt = actual value for period t Ft = forecast (smoothed value for period t ) α = smoothing constant (0 < α < 1) 1 1 3 3 2 2 F (^) 1 y ( 1 ) y 1 ( 1 ) y ( 1 ) y ( 1 ) y t t t t t t −
If this substitution process is repeated by replacing F t- by its components, F t- by its components, and so on the result is: Therefore, F t+ is the weighted moving average of all past observations. As the first value , F 1 is not known, we can use the first observed value Y 1.
Exponential Sm oothing (.1) 0 10 0 2 0 0 3 0 0 4 0 0 50 0 6 0 0 70 0 0 10 2 0 3 0 4 0 50 6 0 P e r i o d Exponential Smoothing (α = .1)
Actual Data Smoothed time series with α = 0. A “flat” smoothed series The lower the value of α, the more “smooth” the time series will become.
Exponential Sm othing ( .7) 0 10 0 2 0 0 3 0 0 4 0 0 50 0 6 0 0 70 0 0 10 2 0 3 0 4 0 50 6 0 P e r i o d Exponential Smoothing (α = .7) and one period ahead Actual Data Smoothed time series with α = 0. Very sensitive to most recent time series value – not much smoothing The higher the value of α, the more “sensitive” the estimated time series will become.
Moving average and single exponential smoothing technique are useful when the series analyzed have no trend nor seasonal components. Forecasting series with trend by moving average
Where h is the number of forecasted periods and s the number of periods considered in the moving average window.