Test the null hypothesis of no cointegration between y and x using Phillips' (1987) Za and Zt statistics and Phillips and Ouliaris (1990) limit theory.
CZa(y,x,p=1,v=15)
Estimate of the AR(1) coefficient.
Za statistic for non-cointegration.Reject the null hypothesis of no cointegration if the Z statistic < critical value.
Critical values of cza.
Zt statistic for non-cointegration.Reject the null hypothesis of no cointegration if the Z statistic < critical value.
Critical values of czt.
The data of dependent variable in a regression.
The data of independent variables in a regression.
Order of the time polynomial in the cointegrating regressio. Critical values are available for p within [1,5].
p =-1: No deterministic term in the cointegrating regression.
p = 0: For a constant term.
p = 1: For a constant term and trend. Default.
P > 2: For time polynomial.
Number of autocovariance terms to compute the spectrum at frequency zero, default=15.
Ho Tsung-wu <tsungwu@ntnu.edu.tw>, College of Management, National Taiwan Normal University.
Phillips, P. C. B. (1987) Time Series Regression with a Unit Root. Econometrica, 55, 277-301.
Phillips, P. C. B. and Ouliaris S. (1990) Asymptotic Properties of Residual Based Tests for Cointegration. Econometrica, 58, 165-193.
data(macro)
y=macro[,1]
x=macro[,-1]
CZa(y,x,p=1,v=10)
Run the code above in your browser using DataLab