Download presentation

Presentation is loading. Please wait.

Published byJames Robinson Modified about 1 year ago

1
Time Series Building -Simple time series plot : preliminary assessment tool for stationarity -Non stationarity: consider time series plot of first (d th ) differences -Unit root test of Dickey & Fuller : check for the need of differencing -Sample ACF & PACF plots of the original time series or d th differences sample autocorrelations sufficient 1. Model Identification 2. Parameter Estimation - Methods of moments, maximum likelihood, least squares 3. Diagnostic checking- check for adequacy -Residual analysis: Residuals behave like a white noise Autocorrelation function of the residuals r e (k) not differ significantly from zero - check the first k residual autocorrelations together 1

2
May exist some autocorrelation between the number of applications in the current week & the number of loan applications in the previous weeks 2

3
Weekly data: -Short runs -Autocorrelation -A slight drop in the mean for the 2 nd year ( weeks) : -Safe to assume stationarity Sample ACF plot: -Cuts off after lag 2 (or 3) MA(2) or MA(3) model -- Exponential decay pattern AR(p) model Sample PACF plot: -Cuts off after lag 2 Use AR(2) model 3

4
- Parameter estimates: Significant - Box-Pierce test: no autocorrelation -sample ACF & PACF: confirm also 4

5
Acceptable fit Fitted values: smooth out the highs and lows in the data 5

6
Signs of non-stationarity: -changing mean & variance -Sample ACF: slow decreasing -Sample PACF: significant value at lag 1, close to 1 Significant sample PACF value at lag 1: AR(1) model 6

7
Residuals plot: changing variance - Violates the constant variance assumption 7

8
- AR(1) model coefficient: Significant - Box-Pierce test: no autocorrelation -sample ACF & PACF: confirm also 8

9
Plot of the first difference: -level of the first difference remains the same Sample ACF & PACF plots: first difference white noise RANDOM WALK MODEL, ARIMA(0,1,0) 9

10
Decide between the 2 models AR(1) & ARIMA(0,1,0) -Use specific criteria -Use subjective matter /process knowledge Do we expect a financial index as the Dow Jones Index to be around a fixed mean, as implied by AR(1)? ARIMA(0,1,0) takes into account the inherent non stationarity of the process However A random walk model means the price changes are random and cannot be predicted Not reliable and effective forecasting model Random walks models for financial data 10

11
Forecast ARIMA process How to obtain Best forecast The mean square error for which the expected value of the squared forecast errors is minimized Best forecast in the mean square sense Forecast error 11

12
Variance of the forecast errors: bigger with increasing forecast lead times Prediction Intervals Mean & variance 100(1-a) percent prediction interval 12

13
2 problems -Infinite many terms in the past, in practice have finite number of data -Need to know the magnitude of random shocks in the past -Estimate past random shocks through one-step forecasts ARIMA model 13

14
ARIMA(1,1,1) process 1. Infinite MA representation of the model forecast weights Random shocks 14 forecast

15
2. Use difference equations 15

16
16 Seasonality in a time series is a regular pattern of changes that repeats over S time periods, where S defines the number of time periods until the pattern repeats again.

17
SEASONAL PROCESS S t deterministic with periodicity s N t stochastic, modeled ARMA w t seasonally stationary process Model N t with ARMA Assume after seasonal differencing becomes stationary Seasonal ARMA model 17

18
18 ARIMA model (p,d,q)x(P,D,Q) with period s

19
Monthly seasonality, s=12: -ACF values at lags 12, 24,36 are significant & slowly decreasing -PACF values: lag 12 significant value close to 1 -Non-stationarity: slowly decreasing ACF Remedy of non-stationarity: take first differences & seasonal differencing -Eliminates seasonality -stationary Sample ACF: significant value at lag 1 Sample PACF : exponentially decaying values at the first 8 lags Use non seasonal MA(1) model Remaining seasonality: Sample ACF: significant value at lag 12 Sample PACF : lags 12, 24,36 alternate in sign Use seasonal MA(1) model 19

20
Coefficient estimates: MA(1) & seasonal MA(1) significant Sample ACF & PACF plots: still some significant values Box-Pierce statistic: most of the autocorrelation is out ARIMA(0,1,1)x(0,1,1) 12 20

21
ARIMA(0,1,1)x(0,1,1) 12 : reasonable fit 21

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google