Parameter transformation

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.

Parameter transformation

Postby irish » Tue Jan 10, 2017 4:59 pm

Dear all,

I am trying to estimate a dsge model using bayesian techniques, with transformed parameters. Specifically, I need the tranformation only for the minimization process, while in the metropolis hasting the original parameters must be considered.
1) Is it enough to declair the transformation using the pound operator and to define the whole model in terms of the transfomred variables, while in the estimation block to declair the original paramteres ones? As for example

parameters ..alpha.. ;

model(linear);
..
#alpha_bound=log(alpha/(1-alpha));
..
y=alpha_bound*x;
..
end;

estimated_params;
..
alpha, .., ..
...
end;

2) Does the computation of the jacobian and of the hessian automatically account for this tranformation? That is, when computing the jacobian of alpha it should use exp(alpha)/(1+exp(alpha))^2 instead of just alpha.

Thank you very much,
irish.
irish
 
Posts: 5
Joined: Mon Dec 05, 2016 3:12 pm

Re: Parameter transformation

Postby jpfeifer » Tue Jan 10, 2017 7:47 pm

Why exactly do you need this transformation, i.e. what are you trying to achieve?
------------
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: Parameter transformation

Postby irish » Tue Jan 10, 2017 9:16 pm

Dear Mr Johannes,
Thank you very much for your kind reply.
This kind of transformation is used in a paper I am trying to replicate.
Actually, I'm not sure why the authors have implemented it. The model is
very close to be indeterminate, so may be this could be a reason.

Thanks a lot,
irish
irish
 
Posts: 5
Joined: Mon Dec 05, 2016 3:12 pm

Re: Parameter transformation

Postby jpfeifer » Tue Jan 17, 2017 10:45 am

If it is a purely numerical reason, you should try to work without this transformation. My guess is that is has to do with the Jacobian. What is the source you are referring to?
------------
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


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 5 guests