I am using the johansen cointegration test on a model, I have to check the number of cointegration relationships through click method from e views, but further I am calculating my VECM manually. If there is one cointegrating vector it is OK to make residual by estimating long run equation and find the VECM, but if there are more than one cointegrating vectors, I should use two ECT (error correction terms) but how can I estimate it manually?