Test for cointegration based on two-stage least squares
A residual-based test for cointegration is proposed. The method of two-stage least squares is used to estimate the cointegration model parameters. The residuals are then tested for the existence of a unit root using the augmented Dickey-Fuller test.