Skip to content
Prev 18333 / 20628 Next

Precision about the glmer model for Bernoulli variables

You'd know the beta-binomial constrains the range of the correlation coefficient positive, but the logit-normal and probit-normal allow a negative correlation, with a lower bound constrained by the N, in the case of regular sized clusters. For your example of 2x2 tables, the correlation can go from -1 to 1. This is the usual genetics
type setup where you model the pairwise correlations for all pairs of observations in the dataset versus their
(pairwise) genetic relatedness.  In multi-trait models, the correlations between different phenotypes (say asthma and diabetes) in the same individual can be negative, so you can estimate negative variance components.

The pedigreemm package extends lme4 to allow glmms for pedigree data (see the mastitis example for a binary trait).

Cheers, David Duffy.