Presentation is loading. Please wait.

Presentation is loading. Please wait.

Economics 310 Lecture 24 Univariate Time Series Concepts to be Discussed Time Series Stationarity Spurious regression Trends.

Similar presentations


Presentation on theme: "Economics 310 Lecture 24 Univariate Time Series Concepts to be Discussed Time Series Stationarity Spurious regression Trends."— Presentation transcript:

1

2 Economics 310 Lecture 24 Univariate Time Series

3 Concepts to be Discussed Time Series Stationarity Spurious regression Trends

4 Plot of Economic Levels Data

5 Plot of Rate Data

6 Stationary Stochastic Process Stochastic Random Process Realization A Stochastic process is said to be stationary if its mean and variance are constant over time and the value of covariance between two time periods depends only on the distance or lag between the two time periods and not on the actual time at which the covariance is computed. A time series is not stationary in the sense just define if conditions are violated. It is called a nonstationary time series.

7 Stationary Stochastic Process

8 Test for Stationarity: Correlogram

9 Correlogram for PPI AUTOCORRELATION FUNCTION OF THE SERIES (1-B) (1-B ) PPIACO RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRR.

10 Correlogram M1 AUTOCORRELATION FUNCTION OF THE SERIES (1-B) (1-B ) M RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRR RRRRRRRRRRRRRRRRRRRRRRRRRRRRR.

11 Testing autocorrelation coefficients If data is white noise, the sample autocorrelation coefficient is normally distributed with mean zero and variance ~ 1/n For our levels data sd=0.064, and 5% test cut off is For our rate data, sd=0.059, and 5% test cut off is 0.115

12 Testing Autocorrelation coefficients

13 Ljung-Box test for PPI SERIES (1-B) (1-B ) PPIACO NET NUMBER OF OBSERVATIONS = 242 MEAN= VARIANCE= STANDARD DEV.= LAGS AUTOCORRELATIONS STD ERR MODIFIED BOX-PIERCE (LJUNG-BOX-PIERCE) STATISTICS (CHI-SQUARE) LAG Q DF P-VALUE LAG Q DF P-VALUE

14 Unit Root Test for Stationarity

15 Results of our test If a time series is differenced once and the differenced series is stationary, we say that the original (random walk) is integrated of order 1, and is denoted I(1). If the original series has to be differenced twice before it is stationary, we say it is integrated of order 2, I(2).

16 Testing for unit root In testing for a unit root, we can not use the traditional t values for the test. We used revised critical values provided by Dickey and Fuller. We call the test the Dickey-Fuller test for unit roots.

17 Dickey-Fuller Test

18 Dickey-Fuller Test for our level data-PPI |_coint ppiaco m1 employ...NOTE..SAMPLE RANGE SET TO: 1, NOTE..TEST LAG ORDER AUTOMATICALLY SET TOTAL NUMBER OF OBSERVATIONS = 242 VARIABLE : PPIACO DICKEY-FULLER TESTS - NO.LAGS = 14 NO.OBS = 227 NULL TEST ASY. CRITICAL HYPOTHESIS STATISTIC VALUE 10% CONSTANT, NO TREND A(1)=0 T-TEST A(0)=A(1)= AIC = SC = CONSTANT, TREND A(1)=0 T-TEST A(0)=A(1)=A(2)= A(1)=A(2)= AIC = SC =

19 Dickey-Fuller Test for our level data-M1 VARIABLE : M1 DICKEY-FULLER TESTS - NO.LAGS = 12 NO.OBS = 229 NULL TEST ASY. CRITICAL HYPOTHESIS STATISTIC VALUE 10% CONSTANT, NO TREND A(1)=0 T-TEST A(0)=A(1)= AIC = SC = CONSTANT, TREND A(1)=0 T-TEST A(0)=A(1)=A(2)= A(1)=A(2)= AIC = SC =

20 Dickey-Fuller on First Difference-PPI VARIABLE : DIFFPPI DICKEY-FULLER TESTS - NO.LAGS = 14 NO.OBS = 226 NULL TEST ASY. CRITICAL HYPOTHESIS STATISTIC VALUE 10% CONSTANT, NO TREND A(1)=0 T-TEST A(0)=A(1)= AIC = SC = CONSTANT, TREND A(1)=0 T-TEST A(0)=A(1)=A(2)= A(1)=A(2)= AIC = SC =

21 Trend Stationary vs Difference Stationary

22 Spurious Regression

23 Relate Price level to Money Supply Note: For this regression R-square= And DW = We have to fear a Spurious regression.

24 Dickey-Fuller Test

25 Cointegration We can have two variables trending upward in a stochastic fashion, they seem to be trending together. The movement resembles two dancing partners, each following a random walk, whose random walks seem to be unison. Synchrony is intuitively the idea behind cointegrated time series.

26 Cointegration

27 We need to check the residuals from our regression to see if they are I(0). If the residuals are I(0) or stationary, the traditional regression methodology (including t and f tests) that we have learned so far is applicable to data involving time series.

28 Test for Cointegration

29 Cointegrating regression: PPI and M1 OINTEGRATING REGRESSION - CONSTANT, NO TREND NO.OBS = 242 REGRESSAND : PPIACO R-SQUARE = DURBIN-WATSON = E-01 DICKEY-FULLER TESTS ON RESIDUALS - NO.LAGS = 14 M = 2 TEST ASY. CRITICAL STATISTIC VALUE 10% NO CONSTANT, NO TREND T-TEST AIC = SC =

30 Error Correction Model

31 Error Correction model: exchange rate & interest Rate Regression of exchange rate on interest rate Error Correction Model


Download ppt "Economics 310 Lecture 24 Univariate Time Series Concepts to be Discussed Time Series Stationarity Spurious regression Trends."

Similar presentations


Ads by Google