Dear experts,
I'm using Levin's code to calculate the welfare, the readme file says: "Finally, note that the program calc_welframsey.m can be used to compute conditional expected welfare at the deterministic steady state." But when I tried to run it file, I got the next message:
?? Undefined function or variable 'idwelf'.
Error in ==> calc_welframsey at 15
ramadj = ramadj - dr_.ghx(idwelf,idk)*ys_(ik) ...
I really don't know what is idwelf.
Thanks in advance for your help.