value of objective function in osr command

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.

value of objective function in osr command

Postby nazanin » Wed Jun 15, 2011 12:20 pm

hello

i use osr command for finding optimal value of coefficients of taylor rule in dynare
dynare does iterations but dose not give any value for objective function
also give same value with initial value for optimal value of parameters

i don,t know how is it possible!?
and where is my mistake?

if you know please guide me
i attached my modfile


Thanks
Attachments
finalmodel6a.mod
(2.01 KiB) Downloaded 146 times
nazanin
 
Posts: 8
Joined: Sun Feb 27, 2011 10:32 am

Re: value of objective function in osr command

Postby SébastienVillemot » Thu Aug 25, 2011 3:30 pm

Your model has a unit root (you can see it with "check").

This means that the variance of some variables is infinite. This probably explains why "osr" does not converge.

Try to stationarize your model first.
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France

Re: value of objective function in osr command

Postby olayenidynare » Thu Aug 25, 2011 5:23 pm

I had reported the error even before 4.2.1 version was released. I think it is a bug. The problem is that the m-file to report the objective value has been commented out. You may have to remove the comment yourself.
olayenidynare
 
Posts: 22
Joined: Sat Feb 21, 2009 3:17 pm

Re: value of objective function in osr command

Postby SébastienVillemot » Wed Sep 14, 2011 12:07 pm

olayenidynare wrote:I had reported the error even before 4.2.1 version was released. I think it is a bug. The problem is that the m-file to report the objective value has been commented out. You may have to remove the comment yourself.


I think you're confusing "osr" and "ramsey_policy".

There is indeed a problem with the objective value of "ramsey_policy" (thanks for reporting it), but the user who launched this thread talks about "osr".

Best,
Sébastien Villemot
Economist at OFCE – Sciences Po
SébastienVillemot
 
Posts: 706
Joined: Fri Dec 07, 2007 2:29 pm
Location: Paris, France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests

cron