The preliminary econometric package for Time Series and Panel Data Methods has been updated and functionality has been expanded in this first official release of tspdlib 1.0.
The tspdlib 1.0 package includes functions for time series unit root tests in the presence of structural breaks, time series and panel data unit root tests in the presence of structural breaks, and panel data causality tests.
Change Log
BNG_PANICnew model
inputs changed to 1 for intercept, 2 for intercept and trend.- Change outputs from
adf
procedure to include tstat, p-value, and critical value. - Add critical values to output from
dfgls
procedure. - Add critical values to output from
erspt
procedure. - Add bandwidth length to required inputs from
erspt
procedure. - Add bandwidth length to required inputs for Fourier_
kpss
procedure. JWL_panic
model inputs changed to 1 for intercept, 2 for intercept and trend.- Add bandwidth length for spectral window to required inputs for
kpss_1break
andkpss_2break
procedures. - Add bandwidth length for spectral window to required inputs for
mgls
procedure. - Add critical values to output from
mgls
procedure. - Add bandwidth length for spectral window to required inputs for
pp
procedure. - Add critical values to output from
pp
procedure. - Add the following functions:
Function | Purpose |
---|---|
coint_cissano | Tests the null of cointegration with structural breaks Carrion-i-Silvestre, J.L., Sanso, A. (2006). Tests the null of cointegration with structural breaks. Oxford Bulletin Economics and Statistics, 68(5), 623-646. |
coint_egranger | Cointegration and error correction testing Engle, R.F. & Granger, C.W.J. (1987). Co-integration and error correction: representation, estimation, and testing, Econometrica, 55, 251-276. |
coint_ghansen | Cointegration with regime changes Gregory, A.W. & Hansen, B., (1996). Residual-based tests for co-integration in models with regime shifts. Journal of Econometrics, 70, 99-126. |
coint_hatemiJ | Cointegration with two unknown regime changes Hatemi-J (2008). Tests for cointegration with two unknown regime shifts with an application to financial market integration. Empirical Economics, 35, 497-505. |
coint_shin | Tests cointegration against the alternative of no cointegration. Shin, Y. (1994). A Residual-Based Test of the null of cointegration against the alternative of no cointegration. Econometric Theory, 10(1), 91-115. |
coint_pouliaris | Cointegration Phillips, P. C. B. & Ouliaris, S. (1990). Asymptotic properties of residual based tests for co-integration. Econometrica, 58 (1): 165–193. |
coint_tsongetal | Fourier approximation and cointegration Tsong, C.C., Lee, C.F., Tsai, L.J., & Hu, T.C. (2016). The Fourier approximation and testing for the null of cointegration. Empirical Economics, 51(3), 1085-1113. |
PDcaus_Fisher | Granger causality in panel data Emirmahmutoglu, F., Kose, N. (2011). Testing for Granger causality in heterogeneous mixed panels, Economic Modelling, 28, 870–876. |
PDcaus_SURwald | Granger causality in panel data Kónya, L. (2006) Exports and growth: Granger causality analysis on OECD countries with a panel data approach, Economic Modelling, 23 (6), pp. 978-992. |
PDcaus_Zhnc | Granger causality in panel data Dumitrescu, E., Hurlin, C. (2012). Testing for Granger non-causality in heterogeneous panels, Economic Modelling, 29, 1450–1460. |
PD_cips | Unit root test with cross-section dependence Pesaran, M.H. (2007). A simple unit root test in the presence of cross-section dependence. Journal of Applied Econometrics, 22 (2), 265-312. |
GCtest | Granger causality Granger, C.W.J. (1969). Investigating causal relations by econometric models and cross-spectral methods. Econometrica, 37, 424–438. |
Installation
The GAUSS Time Series and Panel data tests can be easily installed using the GAUSS Application Installer, as shown below:
- Download the zipped folder tspdlib_1.0.zip.
- Select Tools > Install Application from the main GAUSS menu.
- Follow the installer prompts, making sure to navigate to the downloaded tspdlib_1.0.zip.
- Before using the functions created by tspdlib you will need to load the newly created tspdlib library. This can be done in a number of ways:
- Navigate to the library tool view window and click the small wrench located next to the
tspdlib
library. SelectLoad Library
. - Enter
library tspdlib
in the program input/output window. - Put the line
library tspdlib;
at the beginning of your program files.
- Navigate to the library tool view window and click the small wrench located next to the