I am trying to state a prior distribution for a Bayesian meta-analysis.
I have the following information about a random variable:
- Two observations: 3.0, 3.6
- a scientist who studies the variable has told me that $P(X<2)=P(X>8)=0$, and that values as high as 6 have nonzero probability.
I have used the following approach to optimization (the mode of log-N = $e^{\mu-\sigma^2)}$:
prior <- function(parms, x, alpha) {
a <- abs(plnorm(x[1], parms[1], parms[2]) - (alpha/2))
b <- abs(plnorm(x[2], parms[1], parms[2]) - (1-alpha/2))
mode <- exp(parms[1] - parms[2]^2)
c <- abs(mode-3.3)
return(a + b + c)
}
v = nlm(prior,c(log(3.3),0.14),alpha=0.05,x=c(2.5,7.5))
x <- seq(1,10,0.1)
plot(x, dlnorm(x, v$estimate[1], v$estimate[2]))
abline(v=c(2.5,7.5), lty=2) #95%CI

In the figure, you can see the distribution that this returns, but I would like to find something more like the red lines I have drawn in.
This provides the same shaped distribution using the lognormal, gamma, or the normal, and it results in a distribution with $P(X=5)<0.05$ and $P(X=6)< 0.01$, i.e.:
plnorm(c(5,6), v$estimate[1],v$estimate[2])
Can anyone suggest alternatives? I would prefer to stick with a single distribution rather than a mixture.
Thanks!