1 / 48

อบรมการใช้ E-view ครั้งที่ 2 กรณีศึกษา : ปัญหา Time-series By Wasin Siwasarit

อบรมการใช้ E-view ครั้งที่ 2 กรณีศึกษา : ปัญหา Time-series By Wasin Siwasarit. Test of Stationary. [1]. Graphical Analysis [2]. Autocorrelation Function (AFC) and Correlogram [3].The unit root test. Case 1: Dickey-Fuller Unit Root Test. Using US_price.xls. Graphical Analysis.

sovann
Download Presentation

อบรมการใช้ E-view ครั้งที่ 2 กรณีศึกษา : ปัญหา Time-series By Wasin Siwasarit

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. อบรมการใช้ E-view ครั้งที่ 2กรณีศึกษา:ปัญหา Time-seriesBy WasinSiwasarit

  2. Test of Stationary [1]. Graphical Analysis [2]. Autocorrelation Function (AFC) and Correlogram [3].The unit root test

  3. Case 1: Dickey-Fuller Unit Root Test • Using US_price.xls

  4. Graphical Analysis

  5. Autocorrelation Function and Correlogram • One simple test of stationary is based on the so-called autocorrelation function (AFC). The AFC at lag k, denoted by

  6. Partial autocorrelation • In the time series data a large proportion of correlation between Yt and Yt-k may be due to the correlations they have with the interventing lags Yt-1 Yt-2 Yt-3,…..Yt-k+1. The partial correlation removes the influence of these intervening variables.

  7. How do the correlograms enable us to find the ARMA pattern of the time series? • One way of accomplishing this is to consider the ACF and PACF and the associated correlograms of a selected number of ARMA processes, such as AR(1), AR(2), MA(1), MA(2), ARMA(1,1), ARMA (2,2), and so on.

  8. Table: Theoretical Patterns of ACF and PACF

  9. The DF Unit root test are based on the following three regression form.

  10. The hypothesis is: • H0: Unit root • H1: no unit root • Decision rule • If critical value >> not reject null hypothesis, i.e. unit root exists. • If critical value >> reject null hypothesis, i.e. unit root exists.

  11. We choose the “GENR” command to generate the first difference series This graph shows the series has a constant mean and constant variance which implies the first difference series of “CPI” achieves stationary

  12. Case 2: ARMA model • Using hk_gdp.xls

  13. Graphical Analysis From the graph -deterministic upward -seasonal cycle Therefore, Non-stationary

  14. Correlogram Analysis • The ACFs are suffered from linear decline and there are two spikes of PACFs in 1 and 5

  15. Taking the First-difference

  16. The first-difference series perform with a non-constant variance.

  17. Transform the data into the logarithm

  18. The first-difference of log is now free from non-stationary problems

  19. The residuals are not white noise. Since there are seasonal cycles existing in the correlogram, we can try the four-period differences.

  20. From correlogram • There are two spikes of PACFs and three spikes of ACFs, thus we can have the idea to examine whether there is AR(2) and MA(3) of the series. • ARIMA(2,1,3)

  21. To judge which is a best fit ARIMA model from different trials and errors, we have to base on some criteria, such as the smallest Schwartz criterion (BIC), Standard Error of Regression (SEE), the highest adjusted R2 and the invertiability condition and significant of AR and MA root, to determine the best fitted model. Also, the residuals of the selected BEST model must be white noise.

  22. Case 3: ARIMA Model Using the exchange Rate data

  23. Check correlogram The graph of correlogram suggests that ARIMA (p,d,q)?

  24. Since there is no significant spikes of ACFs and PACFs, it means that the residuals of this selected ARIMA model are white noise , so that there is no other significant patterns left in the time series, then we can stop at here .

  25. Case 4: Cointegration and Error Correction Mechanism (21.4)

  26. Applying the unit root test to the residuals

  27. If the 6- month TB rate was higher than the 3 month TB rate more expected a priori in the last month, this month it will be reduced by 0.2 percentage points to restore the long-run relationship between the two interest rates.

  28. Case 5: Vector autoregression (VAR) • Using Problems 22.16 p. 866 • Using the data on PCE and PDI given in table 21.1, develop a bivariate VAR model for the period 1970-I to 1990-IV. Use this model to forecast the value of these variables for the four quarter of 1991 and compare the forecast values with the actual values given in table 21.1

  29. 22.18 estimate the impulse response function for a period of up 8 lags for the VAR model that you developed in exercise 22.16

  30. Impulse Response Function • The IRF traces out the response of the dependence variable in the VAR system to shocks in the error term. • Suppose the error term in equation 1 (PCE) increases by a value of one standard deviation. Such a shock or change will change PCE in the current as well as future periods. But since M1 appears in the PDI, the change in error term in equation 1 will also have the impact on PDI.

More Related