Skip to content
Prev 13718 / 20628 Next

Logit mixed model power analysis

Hi Evenlien,

I second what Thierry said about the pointlessness of post-hoc power analysis when using the observed effect size.

This tutorial by Ben Bolker shows how to do power analysis for a binomial GLMM:
http://rpubs.com/bbolker/11703
NB you don?t need the first 3 lines any more (assuming you have a reasonably up-to-date version of lme4).

I also recommend Chapter 5 of Ben?s book Ecological Models and Data in R as an introduction to simulation, including power analysis.

Our paper on simulation-based power analysis for GLMMs 
http://dx.doi.org/10.1111/2041-210X.12306
which Paul Debes mentioned, has a supplementary online R tutorial, including a binomial example. 

Best wishes,
Paul