Learn R Programming

glmmFEL (version 1.0.5)

Generalized Linear Mixed Models via Fully Exponential Laplace in EM

Description

Fit generalized linear mixed models (GLMMs) with normal random effects using first-order Laplace, fully exponential Laplace (FEL) with mean-only corrections, and FEL with mean and covariance corrections in the E-step of an expectation-maximization (EM) algorithm. The current development version provides a matrix-based interface (y, X, Z) and supports binary logit and probit, and Poisson log-link models. An EM framework is used to update fixed effects, random effects, and a single variance component tau^2 for G = tau^2 I, with staged approximations (Laplace -> FEL mean-only -> FEL full) for efficiency and stability. A pseudo-likelihood engine glmmFEL_pl() implements the working-response / working-weights linearization approach of Wolfinger and O'Connell (1993) , and is adapted from the implementation used in the 'RealVAMS' package (Broatch, Green, and Karl (2018)) . The FEL implementation follows Karl, Yang, and Lohr (2014) and related work (e.g., Tierney, Kass, and Kadane (1989) ; Rizopoulos, Verbeke, and Lesaffre (2009) ; Steele (1996) ). Package code was drafted with assistance from generative AI tools.

Copy Link

Version

Install

install.packages('glmmFEL')

Version

1.0.5

License

GPL-3

Maintainer

Andrew T Karl

Last Published

January 9th, 2026

Functions in glmmFEL (1.0.5)

vcov.glmmFELMod

Extract the covariance matrix of the fixed effects
glmmfe_resolve_approx

Resolve approximation labels
logLik.glmmFELMod

Extract log-likelihood (approximate)
glmmfe_trAB

Fast trace of a matrix product
glmmfe_resolve_family

Resolve supported family specifications
glmmfe_as_Z

Coerce a random-effects design matrix to a sparse dgCMatrix
glmmFEL-package

glmmFEL: Generalized Linear Mixed Models via Fully Exponential Laplace in EM
glmmFEL

Fit GLMMs via Laplace and fully exponential Laplace (matrix interface)
coef.glmmFELMod

Extract model coefficients (fixed effects)
fitted.glmmFELMod

Extract fitted values
glmmFEL_pl

Pseudo-likelihood engine for RSPL/MSPL (Wolfinger-style, simplified R = I)
glmmfe_lmm_inner_fit

Internal Gaussian inner fit for PL / weighted LMM with G = tau2 * I
glmmfe_new_fit

Construct a glmmFEL fitted-model object
glmmfe_as_X

Coerce a fixed-effects design matrix to a numeric base matrix
glmmfe_pl_objective

vp_cp-style PL objective (includes constants)
predict.glmmFELMod

Predict from a fitted glmmFEL model
print.glmmFELMod

Print a glmmFEL model object
summary.glmmFELMod

Summary for a glmmFEL model object
print.summary.glmmFELMod

Print a summary.glmmFELMod object