logLik: Monte Carlo Log Likelihood

logLik.glmmR Documentation

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 class 'glmm'
logLik(object,...)

Arguments

object

An object of class glmm usually created using glmm.

...

further arguments passed to or from other methods.

Value

logLik

The variance-covariance matrix for the parameter estimates

Author(s)

Christina Knudson

See Also

glmm for model fitting.

Examples

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)

glmm documentation built on Sept. 30, 2024, 9:44 a.m.