PolicyInd2Val_FHorz_Case1

PolicyInd2Val_FHorz_Case1() has been eliminated.

Please use
PolicyVals=PolicyInd2Val_Case1_FHorz(Policy,n_d,n_a,n_z,N_j,d_grid,a_grid,simoptions);
instead.

Change is partly to use the same “Case1_FHorz” as everything else (instead of having the words in wrong order). Partly that it now handles other asset types (riskyasset, experienceasset, etc.) so needed some extra inputs.

2 Likes

There remain a number of functions that end in_FHorz_Case1instead of_Case1_FHorz(such as StationaryDist_FHorz_Case1andEvalFnOnAgentDist_AggVars_FHorz_Case1). Should these all be changed as well?

Yes they should. But at the same time I don’t just want to break peoples codes. I am going to hopefully fix them all up whenever I do version 3, maybe late 2026?

PolicyInd2Val is a much less often used command (I believe) so I figured to just go and change it. The other commands are much more common so I didn’t want to break everyone’s codes.

[Actually, the goal for version 3 is to eliminate the whole Case1 vs Case2 distinction. You will notice Case2 essentially never gets used. Deleting the ‘_Case1’ everywhere will solve all these naming issues.]

3 Likes