1 / 37

# Constant process

Smoothing . Constant process. Separate signal &amp; noise. Smooth the data: . Backward smoother: At any give T, replace the observation yt by a combination of observations at &amp; before T. Simple smoother : replace the current observation with the best estimate for . Télécharger la présentation ## Constant process

E N D

### Presentation Transcript

1. Smoothing Constant process Separate signal & noise Smooth the data: Backward smoother: At any give T, replace the observation yt by a combination of observations at & before T Simple smoother : replace the current observation with the best estimate for How to obtain it? Use the least squares criterion

2. Not Constant process Can we use ? this smoother accumulates more and more data points and gains some sort of inertia So it cannot react to the change Obviously, if the process change, earlier data do not carry the information about the it Use a smoother that disregards the old values and reacts faster to the change Simple moving average

3. Simple moving average • Choice of span N: • If N small :reacts faster to the change • large N:constant process The moving averages will be autocorrelated since 2 successive moving averages contain the same N-1 observations

4. First order exponential smoothing Obtain a smoother that reacts faster to the change Idea: give geometrically decreasing weights to the past observations However, Adjust the smoother , by multiplying Simple or first order exponential smoother

5. First-order exponential smoothing: linear combination of the current observation & the smoothed observation at the previous time unit Discount factor : weight on the last observation : weight on the smoothed value of the previous observations

6. The initial value

7. The initial value 2 commonly used estimates of If the changes in the process are expected to occur early & fast If the process at the beginning is constant

8. The value of As gets closer to 1, & more emphasis is given in the last observations : the smoothed values follow the original values more closely The smoothed values equal to a constant The least smoothed version of the original time series Values recommended Choice of the smoothing constant: 1 Subjective: depending of willingness to have fast adaptivity or more rigidity. 2 Choice advocated by Brown (inventor of the method): λ= 0.7 3 Objective: constant chosen to minimize the sum of squared forecast errors

9. Use exponential smoothers for model estimation General class of models e.g. constant process If not all observations have equal influence on the sum : introduce weights that geometrically decrease in time Take the derivative The solution For large T

10. Second order exponential smoothing Linear trend model Uncorrelated with mean 0 & constant variance Use single exponential smoothing: underestimate the actual values Why? Given Simple exponential smoother:biased estimate for the linear trend model bias

11. Solutions: a) Use a large value Smoothed values very close to the observed: fails to satisfactorily smooth the data b) Use a method based on adaptive updating of the discount factor c) Use second order exponential smoothing

12. Second order exponential smoothing Apply simple exponential smoothing on Unbiased estimate of yT 2 main issues: choice of initial values for the smoothers& the discount factors Initial values Estimate parameters through least squares

13. Holt’s Method Divide time series into Level and Trend Lt =λyt+(1−α)(Lt−1+Tt−1) Tt=β(Lt+Lt-1)+(1−β)Tt-1 Ft+1=Lt+Tt yt = actual value in time t λ= constant-process smoothing constant β = trend-smoothing constant Lt = smoothed constant-process value for period t Tt= smoothed trend value for period t F = forecast value for period t + 1 t = current time period

14. Use exponential smoothers for forecasting At time T, we wish to forecast observation at time T+1, or at time Constant Process Can be estimated by the first-order exponential smoother Forecast : At time T+1 One-step-ahead forecast error

15. Our forecast for the next observation is our previous forecast for the current observation plus a fraction of the forecast error we made in forecasting the current observation

16. Choice of Sum of the squared one-step-ahead forecast errors Calculate for various values of Pick the one that gives the smallest sum of squared forecast errors

17. Prediction Intervals Constant process first-order exponential smoother 100(1-a/2) percentile of the standard normal distribution Estimate of the standard deviation of the forecast errors

18. Linear Trend Process In terms of the exponential smoothers

19. Parameter Estimates 100(1-α/2) prediction intervals for any lead time τ

20. Estimation of the variance of the forecast errors, σe2 Assumptions: model correct & constant in time Apply the model to the historic data & obtain the forecast errors Update the variance of the forecast errors when have more data

21. Define mean absolute deviation Δ Assuming that the model is correct

22. Model assessment Check if the forecast errors are uncorrelated Sample autocorrelation function of the forecast errors

23. Exponential Smoothing for Seasonal data Seasonal Time Series Additive Seasonal Model Lt: linear trend component St: seasonal adjustment s: the period of the length of cycles εt: uncorrelated with mean zero & constant variance σε2 Constraint:

24. Forecasting - Start from current observation yT - Update the estimate LT - Update the estimate of β1 - Update the estimate of St - τ- step-ahead foreceast

25. Estimate the initial values of the smoother Use least-squares

26. Exponential Smoothing for Seasonal data Seasonal Time Series Multiplicative Seasonal Model Lt: linear trend component St: seasonal adjustment s: the period of the length of cycles εt: uncorrelated with mean zero & constant variance σε2 Constraint:

27. Forecasting - Start from current observation yT - Update the estimate LT - Update the estimate of β1 - Update the estimate of St - τ- step-ahead foreceast

28. Estimate the initial values of the smoother From the historical data, obtain the initial values

More Related