Skip to content
Prev 4256 / 20628 Next

LRT tests in lmer

On 10-08-11 10:21 AM, Chris Mcowen wrote:
If you want to do population-level predictions from a GLMM (i.e. 
setting all random effects to zero), the basic recipe is to (1) 
construct a model (design) matrix for the desired sets of predictor 
variables (if you want to the predict the observed data rather than some 
other set, you can just extract the model matrix from the fitted 
object); (2) multiply it by the vector of fixed effect coefficients; (3) 
transform it back to the scale of the observations with the inverse link 
function.  There's an example on p. 6 of 
http://glmm.wdfiles.com/local--files/examples/Owls.pdf ...