Skip to content
Prev 2569 / 20628 Next

how reliable are inferences drawn from binomial models for small datasets fitted with lme4?

Dear Roger,

I think part of your problem is that in treatment 2 there are 60  
success but only a single failure. This means that there will be  
little (no?) information in the data to estimate F1 and F2 variances  
that are specific to treatment 2.
I suspect this explains the NaN, and also the discrepancy between JAGS  
and lmer: in the Bayesian analysis this information is coming  
completely from your prior, as are the between treatment covariances.   
I would recommend the simpler model:

m1 <- lmer(Response ~ Treatment+(1 | F1)+(1 | F2), dat, family=binomial)

The F2 variance is fixed at zero, and the treatment effect is  
significant at p=0.0268

For this model the lmer and MCMCglmm results agree for the fixed  
effects. The variance components are sensitive to the prior however,  
but with weak priors the posterior distributions of the variances are  
very wide.

Cheers,

Jarrod



Quoting Roger Levy <rlevy at ling.ucsd.edu>: