Monte Carlo Log Likelihood
A function that calculates the Monte Carlo log likelihood evaluated at the the Monte Carlo maximum likelihood estimates returned from glmm
.
## S3 method for class 'glmm' logLik(object,...)
object
: An object of class glmm
usually created using glmm
....
: further arguments passed to or from other methods.Christina Knudson
glmm
for model fitting.
library(glmm) data(BoothHobert) set.seed(1234) mod <- glmm(y~0+x1, list(y~0+z1), varcomps.names=c("z1"), data=BoothHobert, family.glmm=bernoulli.glmm, m=100) logLik(mod)
Useful links