CZa | R Documentation |
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)
y |
The data of dependent variable in a regression. |
x |
The data of independent variables in a regression. |
p |
Order of the time polynomial in the cointegrating regressio. Critical values are available for p within [1,5]. |
v |
Number of autocovariance terms to compute the spectrum at frequency zero, default=15. |
alpha |
Estimate of the AR(1) coefficient. |
cza |
Za statistic for non-cointegration.Reject the null hypothesis of no cointegration if the Z statistic < critical value. |
cza_cv |
Critical values of cza. |
czt |
Zt statistic for non-cointegration.Reject the null hypothesis of no cointegration if the Z statistic < critical value. |
czt_cv |
Critical values of czt. |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.