Testing for cointegration in I(1) state space systems via a finite order approximation