Prior distribution for negative numbers

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 distribution for negative numbers

Postby measilva » Thu May 01, 2008 3:21 pm

Suppose I have the following relation:

X(t+1) = Alpha + Beta*Y(t) + ........

Based on the theoretical model beta is assumed to be negative, i.e., the relationship between X and Y is negative. So I want to define priors such that the support of the posterior distribution reflects that. However, as far as I know Dynare does not allow truncated normal distribution.

So I was wondering if I could use the following trick: rewrite the equation such as:

X(t+1) = Alpha - Beta*Y(t) + ........

And then use a Gamma Distribution for Beta. In this case beta will assume a positive number, but in the model a "positive" beta means that the correlation of X and Y is negative, as it is supposed to be.

My question is: the posterior mean/mode will be a positive number, of course, but can I interpret this number as a "negative" number in the spirit of the model?

For example, after the estimation I get beta =0.5. So that means that the correlation between X and Y is -0.5! Am I correct?

Any thoughts?

Thanks
Marcelo
University of North Carolina
measilva
 
Posts: 31
Joined: Wed Mar 05, 2008 3:47 pm
Location: University of North Carolina

ok

Postby Santos » Sat May 03, 2008 10:47 pm

I think you are completely correct
Santos
 
Posts: 2
Joined: Tue Apr 29, 2008 9:48 pm

Postby measilva » Tue Jul 22, 2008 2:52 pm

Hey Santos,

Thanks for your replay. One way of doing that is just to define an Uniform Distribution with a negative suport. :)

Best
Marcelo
University of North Carolina
measilva
 
Posts: 31
Joined: Wed Mar 05, 2008 3:47 pm
Location: University of North Carolina


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 13 guests