ramsey_policy
Posted: Thu Oct 27, 2016 4:32 pm
Dear Professor Jpfeifer,
I'm learning how to compute the optimal policies with Dynare. Based on Liu, et.al (2013), I added
in their mod file. I let the planner's objective be maximizing the discounted sum of log(Ch/Chss), which is expressed by Ch since their model is log-linearized.
But it reported that
Error: File: lwz_model.m Line: 599 Column: 30
The expression to the left of the equals sign is not a valid target for an assignment.
Error in dynare (line 180)
evalin('base',fname) ;
It there anything wrong?
I'm learning how to compute the optimal policies with Dynare. Based on Liu, et.al (2013), I added
- Code: Select all
ramsey_policy;
planner_objective(Ch);
ramsey_model(planner_discount=0.98);
in their mod file. I let the planner's objective be maximizing the discounted sum of log(Ch/Chss), which is expressed by Ch since their model is log-linearized.
But it reported that
Error: File: lwz_model.m Line: 599 Column: 30
The expression to the left of the equals sign is not a valid target for an assignment.
Error in dynare (line 180)
evalin('base',fname) ;
It there anything wrong?