Optimal Policy Rules

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Optimal Policy Rules

Postby dynare2014 » Wed Mar 25, 2015 9:54 pm

Hello everyone.

I have few questions:

1) I am trying to find the optimal policy response to different shocks, I was initially taking the welfare function as a the utility function of the household. I looped the policy parameters to get the optimal ones and then used them in the original model to get the optimal responses for my endogenous variables. This is how I initially specified the welfare function:
Code: Select all
welfare = utility + betta*welfare(+1);



After a discussion with my professor, he suggested to take the central bank objective function instead of the utility function, in which the central bank aims to minimize the variance of output gap and inflation. Do I just replace "utility" with the central bank policy objective function and loop the model to get the optimal policy parameters as before? if so, how to write the central bank objective function in the codes?

2) I looked into Optimal Simple Rule OSR and it seems similar to what I'm trying to do but I need more details on that one. Do you think it is what I am trying to do above and any paper used ors that I can look into it?

Thank you so much for all the help!
dynare2014
 
Posts: 21
Joined: Mon Dec 01, 2014 6:49 am

Re: Optimal Policy Rules

Postby dynare2014 » Thu Mar 26, 2015 2:16 pm

One more thing, I asked about it before but did not elaborate.

I am not estimating the DSGE, I am only calibrating the model. However, when I use the following spesfication for interest rate:
Code: Select all
exp(R - STEADY_STATE(R)) = exp((rho_pi*(pi - STEADY_STATE(pi))) + (rho_Y*(Y - STEADY_STATE(Y))));



I get that the following:
Code: Select all
model_diagnostic: the Jacobian of the static model is singular
there is 1 colinear relationships between the variables and the equations
Colinear variables:
b_star 
I       
C       
L       
lammbda
pd_omega
pf_omega
R       
w       
k       
Z       
Zn     
Y       
Yf     
Yd     
Yx     
pi     
pi_n   
pi_d   
pi_f   
s       
q       
pd_bar 
pf_bar 
n1     
n2     
j1     
j2     
Colinear equations
    22

22 is the interest rate policy rule specified above! How can I fix this problem?

Before I used R_ss, pi_ss, and Y_ss which are the steady state values that I computed by hand and the interest rate policy rule is specified as following:
Code: Select all
(exp(R)/R_ss)=((exp(Y)/Y_ss)^rho_Y)*((exp(pi)/pi_ss)^rho_pi)*exp(v);


I was told before here that it is ok to specify the interest rate rule with R_ss, pi_ss, and Y_ss.. which are constant values. Can some one explain why exactly this is ok to do?

Please note that the model is solved either ways but the model with STEADY_STATE give clearer impulse responses. Does having this only Colinear equation cause any problem if I want to use the results?

Thank you so much to everyone for the help, especially to Dr. Pfeifer.
dynare2014
 
Posts: 21
Joined: Mon Dec 01, 2014 6:49 am

Re: Optimal Policy Rules

Postby jpfeifer » Fri Mar 27, 2015 8:43 am

For the steadystate-operator question, see http://www.dynare.org/phpBB3/viewtopic.php?f=1&t=5860

1. Yes, you can use any objective function you want as long as you find a recursive representation, but you need to go to second order. That allows you implement the conditional variance as e.g.
(pi(+1)-pi_ss)^2. If you are interested in the unconditional variance, you can loop over the required parameters to minimize some linear combination in oo_.var. That is what the osr-command does.
2. Schmitt-Grohé/Uribe (2007): "Optimal simple and implementable monetary and fiscal rules - Expanded Version" is similar. Note that for the osr-command, it is the unconditional variance that is minimized.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Optimal Policy Rules

Postby dynare2014 » Fri Mar 27, 2015 6:03 pm

Thank you so much! still some clarifications please

1)
The welfare function that I am using will be
Code: Select all
cbo=(pi(+1)-pi_ss)^2+(Y(+1)-Y_ss)^2;


and will used in the welfare as
Code: Select all
welfare = cbo + betta*welfare(+1);


But how I guarantee that it will minimize it? Do I put a negative sign like
Code: Select all
cbo=-((pi(+1)-pi_ss)^2)-((Y(+1)-Y_ss)^2);


Please note that in the matlab looping code I have

Code: Select all
options = optimset('Display','iter','MaxIter',100000,'MaxFunEvals',100000);


Do I have to modify that? I am thinking that the variance is always positive and that either I multiply the central bank objective function with negative to minimize it or I might have to modify the above optimset command.

2)
Is what I did above the conditional variance? what is exactly the difference between them? My understanding that the welfare specified above is conditional on the objective function of the central bank but not sure the conditional variance and unconditional variance? in term of policy advising, which one is used the most? ors or the way I specified above!


3) I read the post you mentioned and in that post you state
You set pi_bar in the parameter initialization instead of trying to use steady_state(pi). The reason is that inflation is not endogenously determined.

- How do you know that inflation is not endogenously determined? I think inflation is endogenous variable and I have seen codes using steady_state(pi), does that mean inflation is not endogenous in their model?
- The variables are collinear with only one equation which is the monetary policy function in my case, is that a problem? I mean in term of using the results.
dynare2014
 
Posts: 21
Joined: Mon Dec 01, 2014 6:49 am

Re: Optimal Policy Rules

Postby jpfeifer » Sat Mar 28, 2015 8:20 am

Please talk to your professor about this. It is his job, not mine.

1. All Matlab optimizers are minimizers and you want to minimize the weighted sum of variances. But I don't get why you put it into a welfare function.
2. Yes, this would be the conditional variance, because every equation has an conditional expectations operator implicitly in front of it, i.e. E_t. For the unconditional variance, you would need an unconditional expectations operator. As far as I know, the unconditional variance is the one mostly used.
3. Please read the whole post. It is steady state inflation I am talking about (of course inflation itself is an endogenous variable). You cannot endogenously determine steady state inflation and the steady state nominal interest rate at the same time due to the Fisher equation linking the two. The steady state inflation rate (a parameter) needs to be pre-specified. And yes, of course this is a problem.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Optimal Policy Rules

Postby dynare2014 » Sat Mar 28, 2015 7:32 pm

Thank you again for all the help! I truly appreciate it.
dynare2014
 
Posts: 21
Joined: Mon Dec 01, 2014 6:49 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 10 guests