Skip to content
Prev 13047 / 20628 Next

Choosing appropriate priors for bglmer mixed models in blme

Hi Vince,

For a given difference on the logit scale between (lets say) two  
treatment groups then the difference on the observed scale depends on  
the magnitude of the variance components. For logit effects beta1 and  
beta2, the expected difference is approximately:

plogis(beta1/sqrt(1+c2*v))-plogis(beta2/sqrt(1+c2*v))

where v is the variance component and c2 = (16*sqrt(3)/(15*pi))^2.

If a prior (Cauchy or otherwise) was set up that was invariant to v  
then it would imply different prior beliefs about the magnitude of the  
difference (on the observed scale) depending on v. For the normal  
prior it would imply that when v is large we should expect smaller  
differences between treatment groups. This maybe OK (I'm not sure) but  
if not is there a way to make it invariant for the t/Cauchy prior? For  
the normal you can make the scale = sqrt(v+pi^2/3) which seems to work  
OKish.

Cheers,

Jarrod




Quoting Vincent Dorie <vjd4 at nyu.edu> on Sat, 7 Mar 2015 09:47:40 -0500: