I'm pretty new to the concepts of stationarity/cointegration. I am using the "urca" package in "Rstudio" to run my tests.
I have been trying to run cointegration tests, but the frustrating thing is that I haven't been able to find two series that are non-stationary, even when I try using examples cited by cointegration tutorials. My $p$-value is always too big such that I have to reject the null straight away. However, if I look at the $t$-values and compare them to the critical values, they seem to suggest otherwise.
Should I then ignore the $p$-value in the ADF test?
Here are my test results. My two price series are XLE US Equity
and CO1 Comdty
(Brent 1st futures) from 01/01/2010 - today (5/11/2015).
Any help/elaboration will be very much appreciated, thank you!
> testXLE<-ur.df(XLE,type="drift",selectlags="AIC")
> summary(testXLE)
###############################################
# Augmented Dickey-Fuller Test Unit Root Test #
###############################################
Test regression drift
Call:
lm(formula = z.diff ~ z.lag.1 + 1 + z.diff.lag)
Residuals:
Min 1Q Median 3Q Max
-10.3948 -2.5809 0.6846 2.7908 10.1940
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 6.58864 3.43524 1.918 0.0596 .
z.lag.1 -0.08584 0.04533 -1.894 0.0628 .
z.diff.lag 0.05529 0.12544 0.441 0.6609
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
Residual standard error: 4.162 on 64 degrees of freedom
Multiple R-squared: 0.05337, Adjusted R-squared: 0.02379
F-statistic: 1.804 on 2 and 64 DF, p-value: 0.1729
Value of test-statistic is: -1.8936 1.8395
Critical values for test statistics:
1pct 5pct 10pct
tau2 -3.51 -2.89 -2.58
phi1 6.70 4.71 3.86
My interpretation of the results:
- according to p-value (0.1729>0.05) do not reject null; series is stationary
- t-value = (-1.8936>-2.89) --> do not reject null hypothesis; series is not stationary
- t-value = (1.8395<4.71) --> do not reject a0=0 --> there is no drift
Conclusion: The series is non-stationary: Random Walk with no drift.