(G)LMMs: a statistical modeling framework incorporating:
A method for …
accounting for among-individual, within-block correlation
compromising between
complete pooling (no among-block variance)
and fixed effects (large among-block variance)
handling levels selected at random from a larger population
sharing information among levels (*shrinkage estimation*
)
estimating variability among levels
allowing predictions for unmeasured levels
(from B. M. Bolker (2015))
See also Crawley (2002); Gelman (2005)
If you have sampled fewer than five levels of the grouping variable, you should strongly consider treating it as a fixed effect even if one or more of the criteria above apply.
Best fit is a compromise between two components
(consistency of data with fixed effects and conditional modes; consistency of random effect with RE distribution)
Goodness-of-fit *integrates*
over conditional modes
summary
lmerTest
, LMMs only)pbkrtest
)*post hoc*
Bayesian methods: use deterministic/frequentist methods to find the maximum, then sample around itfixed
: fixed-effect formularandom
: random-effect formula (in lme4
, combined with fixed)
x|g
(term|grouping variable)1|g
, single intercept term1|g1/g2
r|g
(1|g)+(x+0|g)
or (x||g)
lme
: weights
, correlation
for heteroscedasticity and residual correlationMCMCglmm
: options for variance structurelme4
glmmTMB
: zero-inflated and other distributionsbrms
,rstanarm
: interfaces to StanINLA
: spatial and temporal correlationsSee also: https://rawgit.com/bbolker/mixedmodels-misc/master/ecostats_chap.html https://groups.nceas.ucsb.edu/non-linear-modeling/projects
http://ms.mcmaster.ca/~bolker/misc/private/14-Fox-Chap13.pdf
https://rawgit.com/bbolker/mixedmodels-misc/master/ecostats_chap.html
(B. M. Bolker 2015)
(code ASPROMP8)
Banta, Joshua A., Martin H. H. Stevens, and Massimo Pigliucci. 2010. “A Comprehensive Test of the ’Limiting Resources’ Framework Applied to Plant Tolerance to Apical Meristem Damage.” Oikos 119 (2): 359–69. doi:10.1111/j.1600-0706.2009.17726.x.
Barr, Dale J., Roger Levy, Christoph Scheepers, and Harry J. Tily. 2013. “Random Effects Structure for Confirmatory Hypothesis Testing: Keep It Maximal.” Journal of Memory and Language 68 (3): 255–78. doi:10.1016/j.jml.2012.11.001.
Bates, Douglas, Reinhold Kliegl, Shravan Vasishth, and Harald Baayen. 2015. “Parsimonious Mixed Models.” ArXiv:1506.04967 [Stat], June. http://arxiv.org/abs/1506.04967.
Biswas, Keya. 2015. “Performances of Different Estimation Methods for Generalized Linear Mixed Models.” Master’s thesis, McMaster University. https://macsphere.mcmaster.ca/bitstream/11375/17272/2/M.Sc_Thesis_final_Keya_Biswas.pdf.
Bolker, Benjamin M. 2015. “Linear and Generalized Linear Mixed Models.” In Ecological Statistics: Contemporary Theory and Application, edited by Gordon A. Fox, Simoneta Negrete-Yankelevich, and Vinicio J. Sosa. Oxford University Press.
Booth, James G., and James P. Hobert. 1999. “Maximizing Generalized Linear Mixed Model Likelihoods with an Automated Monte Carlo EM Algorithm.” Journal of the Royal Statistical Society. Series B 61 (1): 265–85. doi:10.1111/1467-9868.00176.
Breslow, N. E. 2004. “Whither PQL?” In Proceedings of the Second Seattle Symposium in Biostatistics: Analysis of Correlated Data, edited by Danyu Y. Lin and P. J. Heagerty, 1–22. Springer.
Crawley, Michael J. 2002. Statistical Computing: An Introduction to Data Analysis Using S-PLUS. John Wiley & Sons.
Gelman, Andrew. 2005. “Analysis of Variance: Why It Is More Important Than Ever.” Annals of Statistics 33 (1): 1–53. doi:doi:10.1214/009053604000001048.
Ives, Anthony R., and Jun Zhu. 2006. “Statistics for Correlated Data: Phylogenies, Space, and Time.” Ecological Applications 16 (1): 20–32. http://www.esajournals.org/doi/pdf/10.1890/04-0702.
McKeon, C. Seabird, Adrian Stier, Shelby McIlroy, and Benjamin Bolker. 2012. “Multiple Defender Effects: Synergistic Coral Defense by Mutualist Crustaceans.” Oecologia 169 (4): 1095–1103. doi:10.1007/s00442-012-2275-2.
Ponciano, José Miguel, Mark L. Taper, Brian Dennis, and Subhash R. Lele. 2009. “Hierarchical Models in Ecology: Confidence Intervals, Hypothesis Testing, and Model Selection Using Data Cloning.” Ecology 90 (2): 356–62. http://www.jstor.org/stable/27650990.
Rousset, François, and Jean-Baptiste Ferdy. 2014. “Testing Environmental and Genetic Effects in the Presence of Spatial Autocorrelation.” Ecography, no–no. doi:10.1111/ecog.00566.
Rue, H., S. Martino, and N. Chopin. 2009. “Gaussian Models Using Integrated Nested Laplace Approximations (with Discussion).” Journal of the Royal Statistical Society, Series B 71 (2): 319–92.
Stroup, Walter W. 2014. “Rethinking the Analysis of Non-Normal Data in Plant and Soil Science.” Agronomy Journal 106: 1–17. doi:10.2134/agronj2013.0342.
Sung, Yun Ju, and Charles J. Geyer. 2007. “Monte Carlo Likelihood Inference for Missing Data Models.” The Annals of Statistics 35 (3): 990–1011. doi:10.1214/009053606000001389.