I am trying to simulate Rubio's 'House rental versus Purchase: Theory and Evidence' paper. This is a Iacoviello type model but with the extension of the rental paper.
When I attempt to simulate the model, I obtain this error message:
Error using svd
Input to SVD must not contain NaN or Inf.
Error in cond (line 36)
s = svd(A);
Error in solve1 (line 120)
elseif bad_cond_flag && cond(fjac) > 1/sqrt(eps)
................
I have searched the forum for help but have not noticed anything. How can I improve on this? Thank you for reading.