range of parameters for beta prior

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.

range of parameters for beta prior

Postby tovonony » Thu Aug 23, 2012 2:54 pm

Hello,
Does anyone know how to obtain (the formula) the range of parameters with beta distribution? for example, in Smets and Wouters (2003), they said that with beta prior of mean = 0.75 and standard error = 0.05 for the calvo price parameters, the length of the contract (=1/(1-calvo), 1/(1-0.75)=4 quarters for the mean) ranges between 3 quarters to 8 quarters. I could not find this range using [0.75-2*0.05, 0.75+2*0.05].
Thanks for any help,
Tovonony
tovonony
 
Posts: 15
Joined: Mon May 31, 2010 10:02 am

Re: range of parameters for beta prior

Postby jpfeifer » Fri Aug 24, 2012 8:16 am

The beta is not the normal distribution. Hence, the rule of thumb with the two does not work. You can use http://en.wikipedia.org/wiki/Beta_distribution to compute the hyper-parameters. I guess it should be something along the lines of
Code: Select all
mu=0.75;
stdd=0.05;
a = (1-mu)*mu^2/stdd^2 - mu ;
b = a*(1/mu-1) ;
x_low=betainv(0.05,a,b);
x_high=betainv(0.95,a,b);
calvo_low=1/(1-x_low)
calvo_high=1/(1-x_high)

I may be wrong as only the lower bound fits.
------------
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: No registered users and 5 guests