Obtaining optimal values for policy function
Posted: Fri Sep 25, 2015 11:14 am
Hi everyone
I am really in need of help right now because I've been searching but there seems to be no clear documentation on this. Hence, I'd really appreciate it if anyone can help me on this.
It's basically the same old problem of expressing welfare as: W = U + W(+1) and for this objective function W, I wish to find the optimal parameters in my policy rule that will maximize the welfare. There are two parameters in my policy rule now and one of them has a lower bound of 0 and an upper bound of 1 while the other is not bounded. I have read that I need to solve the model to second-order to do so which does make sense mathematically.
However, I think Dynare can neither search through a range of parameters nor return me the set of parameters that achieves the maximum welfare. So I believe I have to implement this in an m file. But the big problem is I've no idea how I can link m files to mod files except through the steady; command.
Can anyone help me with this?
Thank you very much.
I am really in need of help right now because I've been searching but there seems to be no clear documentation on this. Hence, I'd really appreciate it if anyone can help me on this.
It's basically the same old problem of expressing welfare as: W = U + W(+1) and for this objective function W, I wish to find the optimal parameters in my policy rule that will maximize the welfare. There are two parameters in my policy rule now and one of them has a lower bound of 0 and an upper bound of 1 while the other is not bounded. I have read that I need to solve the model to second-order to do so which does make sense mathematically.
However, I think Dynare can neither search through a range of parameters nor return me the set of parameters that achieves the maximum welfare. So I believe I have to implement this in an m file. But the big problem is I've no idea how I can link m files to mod files except through the steady; command.
Can anyone help me with this?
Thank you very much.