Page 1 of 1
Restricted parameter in OSR
Posted:
Tue Aug 07, 2012 4:21 pm
by vasil
Hi all,
I have a question about the optimal simple rule command osr. I was wondering if there was a way how to incorporate the restriction that rho is between 0 and 1 in the standard Taylor rules of the form:
r_t = rho*r_{t-1} + (1-rho)*(phi1*pi_t + phi2*y_t)
I tried to do the optimal simple rule analysis but am getting parameters rho bigger than 1 for almost any weights of the loss function.
Thanks in advance for any suggestions.
V.
Re: Restricted parameter in OSR
Posted:
Fri Aug 10, 2012 1:24 pm
by SébastienVillemot
This is currently not possible. However, implementing constrained OSR is on our todolist (therefore it should be included in some future release), see:
https://www.dynare.org/trac/ticket/58
Re: Restricted parameter in OSR
Posted:
Wed Aug 15, 2012 2:28 pm
by jpfeifer
You can use a non-linear (logistic) transformation to bound rho, i.e. use 1/(1+exp(-rho)) instead of rho and back out the original parameter by inverting this transformation.
Re: Restricted parameter in OSR
Posted:
Fri Jun 26, 2015 4:55 pm
by econ86
De
Re: Restricted parameter in OSR
Posted:
Wed Jul 01, 2015 5:36 am
by jpfeifer
Re: Restricted parameter in OSR
Posted:
Mon Jul 13, 2015 6:17 pm
by fabiac
Dear Dr. Pfeifer,
I am trying to run a constrained OSR, transforming the coefficients in the Taylor rule so that they are contrained to be positive. So I basically apply the logistic transformation you suggested in one of the above posts. The problem is that, all else equal, the OSR routine gives me different solutions even when the unconstrained optimum is already positive. I am setting tolf at 1e-20 to avoid numerical approximation problems. Do you know why that might be happening? Thank you, Fabia
Re: Restricted parameter in OSR
Posted:
Tue Jul 14, 2015 5:19 am
by jpfeifer
How exactly do you impose the transformation?
Re: Restricted parameter in OSR
Posted:
Tue Jul 14, 2015 1:13 pm
by fabiac
Originally, the Taylor rule is:
R^4=(R(-1)^4)^rho_R*(R_ss^4*(pie_4_ahead(+3)/pietarget)^gamma_pie*( (gdp/steady_state(gdp)) )^gamma_y)^(1-rho_R)*((b_E+b_B_c+b_B_h)/(b_E_ss+b_B_c_ss+b_B_h_ss))^gamma_cred*(pie_C^4/pie_C(-1)^4)^gamma_dpie*exp(eps_R);
I create a new parameter, gamma_y_bounded, and its value is obtained in the steady_state_model block as: gamma_y_bounded= 1/(1+exp(-gamma_y));
In the osr_params command, I use either gamma_y or gamma_y_bounded, in addition to the other parameters I'm interested in.
Thanks!
Re: Restricted parameter in OSR
Posted:
Wed Jul 15, 2015 6:48 am
by jpfeifer
Then this sounds like there are several local maxima. Have you checked the values of the objective function?