Allow estimation of parameters appearing in the discount factor
Remaining task from #1173 (closed)
Solution envisioned at Summer School 2022:
- Have the preprocessor substitute whatever expression is provided instead of creating a new parameter with a fixed value.
- Replace the Matlab
function discount_factor=get_optimal_policy_discount_factor(params,param_names)
with anfname.get_optimal_policy_discount_factor
that returns the value of the discount factor for a given model.