maybe someone can help me with my data.
I analyse how macroeconomic indicators affect stock index. For this analysis I prefer VAR model.In my case data of all variables are non-stationary – I have checked it by plots and also with adf test.Also I made unit root test and it says that all variables have unit root. After that I decided to apply differencing method with first order. After that with adf test I got results that all variables are stationary, because p-value is less than 0.05 but unit root test shows that some variables still have unit root.
My question is should I also apply cointegration test in this case after I found that differenced data still has unit roots? Or should it be applied before making changes as differencing in data? Basicly through a lot of sources I don't understand when should I use unit root test and cointegration test when I want to create VAR model.
Thanks in advance!
Best Answer
Let us say the highest order of integration is $d$; usually, $d=1$ though sometimes $d=2$.