Pairwise regression code
Posted: Wed Apr 15, 2009 2:32 am
Hello All,
I would need a code to do pairwise regressions to test for cointegration relations among 8 variables with the Engle-Granger method (e.g. first running simple LS regressions then testing for the stationarity of the error terms). I know that it would mean running (n*(n-1))/2 (8*7/2=28) regressions. Could you please help me how I can run these regressions?
Many thans,
Laszlo
I would need a code to do pairwise regressions to test for cointegration relations among 8 variables with the Engle-Granger method (e.g. first running simple LS regressions then testing for the stationarity of the error terms). I know that it would mean running (n*(n-1))/2 (8*7/2=28) regressions. Could you please help me how I can run these regressions?
Many thans,
Laszlo