osr optim_weights, need clarification

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.

osr optim_weights, need clarification

Postby JeanPaul » Tue Aug 24, 2010 6:09 pm

Dear all,

In the OSR code we have the optim_weights set like this :

optim_weights;
inf 1;
y 1;
end.

As I understand, this means the same weight "0.5" for each variable.
But if I have my quadratic loss function as this one :
(1-lambda)*inflation^2 + lambda*x^2

According to optim_weights, how can I set the weight 0.70 (=1-lambda) for inflation and 0.30 (=lambda) for x?
Indeed, which discount value (beta) is used in the quadratic OSR code, as I can set the dicount value as in ramsey code.
thanks for yor help !
JeanPaul
 
Posts: 5
Joined: Tue Jul 14, 2009 8:32 am
Location: montréal, Canada

Re: osr optim_weights, need clarification

Postby AssiaEzzeroug » Wed Aug 25, 2010 11:42 am

Hi,

regarding what you wrote previous, this means you assign a weight of 1 to each variables that is, inflation and output.
Now if you wanna assign different values (using parameter lambda), you just need to replace the weights "1" with lambda and 1-lamdda as follows
inf lambda;
y 1-lambda;


Best
AssiaEzzeroug
 
Posts: 83
Joined: Tue Nov 24, 2009 3:48 pm


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 5 guests