Expand description
Mixed effects models for StatOxide
This module implements linear mixed models (LMM) and generalized linear mixed models (GLMM) for hierarchical or clustered data.
§Model Specification
Linear Mixed Model: y = Xβ + Zb + ε where:
- y: response vector
- X: fixed effects design matrix
- β: fixed effects coefficients
- Z: random effects design matrix
- b: random effects coefficients ~ N(0, G)
- ε: residuals ~ N(0, R)
Generalized Linear Mixed Model extends LMM to non-Gaussian responses using link functions.
§Estimation Methods
- REML: Restricted Maximum Likelihood (preferred for variance components)
- ML: Maximum Likelihood
- PQL: Penalized Quasi-Likelihood (for GLMM)
- Laplace Approximation: For non-Gaussian GLMM
Structs§
- GLMM
Builder - Generalized Linear Mixed Model builder
- GLMM
Results - Generalized Linear Mixed Model (GLMM) results
- LMMResults
- Linear Mixed Model (LMM) results
- Linear
Mixed Model Builder - Linear Mixed Model builder
- Random
Effect - Random effects structure specification
Enums§
- Estimation
Method - Estimation method for mixed models
- GLMM
Estimation Method - Estimation method for GLMM
- Random
Covariance - Covariance structure for random effects