Page 1 of 1

prior_draw.m

PostPosted: Thu Apr 25, 2013 12:38 pm
by lombard
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

Re: prior_draw.m

PostPosted: Thu Apr 25, 2013 2:07 pm
by jpfeifer
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?

Re: prior_draw.m

PostPosted: Thu Apr 25, 2013 2:09 pm
by lombard
Hi,

thanks for the reply.

Yes, I initialized prior_draw before using it.

Re: prior_draw.m

PostPosted: Thu Apr 25, 2013 2:45 pm
by jpfeifer
But then it should work. Can you replicate the issue? If yes, could you provide an example file?

Re: prior_draw.m

PostPosted: Thu Apr 25, 2013 3:22 pm
by lombard
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