I’m fitting a Beta-Binomial model in brms as described in Paul Burkner’s vignette on Custom Response Distributions. In particular that means I’m parameterising the beta binomial as
Where \mu describes the mean, and \phi controls over-dispersion (in the classic parameterisation \alpha = \phi\mu and \beta = \phi(1-\mu)).
I’m interested in views on how best to go about setting a prior on \phi. I’ve detailed my thinking below, and would welcome any thoughts on approaches.
One immediate thought that comes to my mind is whether I would be better off parameterising in \phi^{-1}.
My approach is to set a prior in terms of the residual deviation that the binomial proportion S/N would have regardless of sample size, eg. I feel comfortable making the statement:
For arbitrarily large samples, I still anticipate rates to deviate by +/-p.
For my situation, typically I’d be setting my expectations of p to be in the range of 1 - 5%.
Asymptotically, the variance of the beta binomial proportion is that of the Beta distribution with the same parameters
For the purpose of setting a prior, the approximation feels reasonable so long as \mu is known not to be too close to 0 or 1.
Very roughly this means that asymptotically, 95% of the density of S/N will be in the range
So from my original framing in terms of my anticipated deviation p I now know I can approximate p \sim \phi^{-\frac12}. At this point I’m choosing a prior \phi \sim \text{Exponential}(p^2).
Example. If my prior expectation is for deviations to be around 5%, then I’d choose a prior \phi \sim \text{Exponential}(0.05^2), which following the approximation above implies the distribution below on p.