Hi,
In the mean-shape parameterization of the beta distribution we have two parameters mu and theta. When theta = 2
every probability from zero to one is equally like. When theta < 2
, the distribution is so dispersed that extreme probabilities near 0 and 1 are more likely than the mean.
Therefore, I want to make sure that theta >= 2
.
In my model I introduce inv_theta
in the “transformed parameters”-block. Logically, I need to make sure that inv_theta <= 0.5
.
Simplified model:
...
parameters {
...
real<lower=0, upper=0.5> inv_theta;
}
transformed parameters {
real<lower=2> theta = 1.0 / inv_theta;
}
model {
// prior
inv_theta ~ exponential(1);
....
}
Is this correctly done? Or should I make sure that inv_theta
is drawn from a prior that generates only values between 0 and 0.5?
To my understanding there is no such distribution except the incomplete beta-distribution like incomplete_beta(0.5, a, b)
. But it’s not possible to use the incomplete beta-distribution as a prior, correct?