Inequality constraints

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.

Inequality constraints

Postby Aqua1 » Fri Jan 06, 2012 5:09 pm

Hi all,

How to impose inequality constraints in Dynare? I have to estimate say, apha1 and alpha2, with alpha1 and alpha2 positive and alpha1 > alpha2. If the model is estimated with Bayesian methods, is it sufficient to specify such constraints when defining the prior.
For instance, choosing a gamma for alpha1 and alpha2 with different mean. Correct?

Thank you,
F.
Aqua1
 
Posts: 2
Joined: Sat Jun 11, 2011 9:06 am

Re: Inequality constraints

Postby SébastienVillemot » Mon Jan 16, 2012 5:30 pm

The simplest solution is to choose priors for alpha1 and alpha2 with a bounded support and sufficiently tight to ensure that the two distributions do not overlap.

Otherwise, I suggest to redefine the parameters: create a parameter (say "p") such that alpha1 = alpha2 + p, and enforcing the positivity of p to have a positive support.

Of course this means that in order to compute the posterior distribution of alpha2 you will have to do some computation.

Note that I have never tried this solution and that I am not even sure that it works in practice. You may want to ask confirmation from a Bayesian expert.
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 11 guests