prior_draw.m

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.

prior_draw.m

Postby lombard » Thu Apr 25, 2013 12:38 pm

Hi,

I'm trying to use the Dynare function prior_draw.m after having run Dynare.

For some reason I get inf values for some parameters.

Is this because the information available after running Dynare is somehow different from that available to this function when used internally?

Any clue?

Thanks

Gianni
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel

Re: prior_draw.m

Postby jpfeifer » Thu Apr 25, 2013 2:07 pm

Did you first do an initializing call
Code: Select all
prior_draw(1)

before running
Code: Select all
prior_draw(0)

to get prior draws?
------------
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: prior_draw.m

Postby lombard » Thu Apr 25, 2013 2:09 pm

Hi,

thanks for the reply.

Yes, I initialized prior_draw before using it.
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel

Re: prior_draw.m

Postby jpfeifer » Thu Apr 25, 2013 2:45 pm

But then it should work. Can you replicate the issue? If yes, could you provide an example file?
------------
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: prior_draw.m

Postby lombard » Thu Apr 25, 2013 3:22 pm

I could replicate the issue, but it would be a bit time consuming to wrap up an example.

I found a different solution (also related to my other post and your reply), so I would leave this aside for the moment.

Thanks and best

Gianni
lombard
 
Posts: 132
Joined: Wed Feb 02, 2005 12:36 pm
Location: Basel


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests