Learn R Programming

glmm (version 1.4.5)

logLik.glmm: Monte Carlo Log Likelihood

Description

A function that calculates the Monte Carlo log likelihood evaluated at the the Monte Carlo maximum likelihood estimates returned from glmm.

Usage

# S3 method for glmm
logLik(object,...)

Value

logLik

The variance-covariance matrix for the parameter estimates

Arguments

object

An object of class glmm usually created using glmm.

...

further arguments passed to or from other methods.

Author

Christina Knudson

See Also

glmm for model fitting.

Examples

Run this code
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)

Run the code above in your browser using DataLab