Error using svd
Input to SVD must not contain NaN or Inf.
Error in collintest (line 254)
[~,S,V] = svd(XS,0);
Can anyone help with this error? I am trying to use the collintest with lagged values of CPI data. Also, how do I include the constant in the matrix and therefore compute the Belsley collinearity diagnostics? Thanks in advance for any help you can give!