Dear Prof. Pfeifer,
I would like to find the value of a parameter (phiP) which minimizes the variance of consumption using osr. However, Dynare is unable to find a solution. I wondered if there was something I may be doing wrong? When I make some minor changes to the osr weights, I get astronomical values of phiP which I would like to lie between -1 and 1.
Can I also ask whether there is some way I could find the optimal value of this parameter which maximizes intertemporal utility?
Please find attached a zip file. The file to run is the run.m file which should in turn run cycle_irf.
Many thanks