I was trying to implement identification analysis for Christiano, Motto, Rostagno paper, Risk shock. But there is a mistake using svd matlab function.
I consider only simplified version of the paper, without financial frictions. There are no measurement equations in this case. I tried to use different data set, but I still have the same error:
Testing prior mean
Evaluating simulated moment uncertainty ... please wait
Doing 300 replicas of length 300 periods.
Simulated moment uncertainty ... done!
??? Error using ==> svd
Input to SVD must not contain NaN or Inf.
Error in ==> rank at 15
s = svd(A);
Error in ==> identification_analysis at 200
if iflag || rank(MIM)>rank(tildaM),
Error in ==> dynare_identification at 280
[idehess_point, idemoments_point, idemodel_point, idelre_point,
derivatives_info_point, info] = ...
Error in ==> cmr at 677
dynare_identification(options_ident);
Error in ==> dynare at 180
evalin('base',fname) ;
What could possibly trigger this problem?
I would be very grateful if you could help me to solve this mystery.