Optimal policy parameters in a non-linear model

Hi Aida,

Thanks for your help. Do you mean that I should put that code right before the “stoch_simul” command? If so, what’s the difference if I put the maximization code after the “stoch_simul” command?

Besides, where are the values of maximized welfare and the optimal parameters stored?