ranef.glmm.admb {glmmADMB} | R Documentation |
Extract random effects from objects fitted with the function 'glmm.admb' and (optionally) their standard deviations.
ranef.glmm.admb(object, sd = FALSE)
object |
An object (a fit) returned from glmm.admb |
sd |
logical. If 'TRUE', the standard deviations of the random effects are returned, rather than point estimates. |
... |
Further arguments passed on |
The point estimates of the random effects are 'empirical Bayes' estimates in the sense that the hyperparameters (fixed effects, variance components etc) are fixed at their MLE's when the joint likelihood is maximized with respect to the random effects. However, uncertainty about the hyperparameters is taken into account when the standard deviations of the random effects are calculated.
A matrix of estimated random effects (or standard deviations).
H. Skaug skaug@mi.uib.no, David Fournier otter@otter-rsch.com and Anders Nielsen andersn@hawaii.edu