Generalised Linear Mixed Model Specification, Analysis, Fitting, and Optimal Design in R with the glmmr Packages

03/22/2023
by   Samuel I. Watson, et al.
0

We describe the R package glmmrBase and an extension glmmrOptim. glmmrBase provides a flexible approach to specifying, fitting, and analysing generalised linear mixed models. We use an object-orientated class system within R to provide methods for a wide range of covariance and mean functions, including specification of non-linear functions of data and parameters, relevant to multiple applications including cluster randomised trials, cohort studies, spatial and spatio-temporal modelling, and split-plot designs. The class generates relevant matrices and statistics and a wide range of methods including full likelihood estimation of generalised linear mixed models using Markov Chain Monte Carlo Maximum Likelihood, Laplace approximation, power calculation, and access to relevant calculations. The class also includes Hamiltonian Monte Carlo simulation of random effects, sparse matrix methods, and other functionality to support efficient estimation. The glmmrOptim package implements a set of algorithms to identify c-optimal experimental designs where observations are correlated and can be specified using the generalised linear mixed model classes. Several examples and comparisons to existing packages are provided to illustrate use of the packages.

READ FULL TEXT
research
06/09/2021

ergm 4.0: New features and improvements

The ergm package supports the statistical analysis and simulation of net...
research
12/12/2022

Bayesian modelling of the temporal evolution of seismicity using the ETAS.inlabru R-package

The Epidemic Type Aftershock Sequence (ETAS) model is widely used to mod...
research
02/21/2023

nlive: an R Package to facilitate the application of the sigmoidal and random changepoint mixed models

The use of mixed effect models with a specific functional form such as t...
research
03/15/2022

ergm 4: Computational Improvements

The ergm package supports the statistical analysis and simulation of net...
research
02/01/2022

MetaStan: An R package for Bayesian (model-based) meta-analysis using Stan

Meta-analysis methods are used to combine evidence from multiple studies...
research
02/09/2021

Fisher Scoring for crossed factor Linear Mixed Models

The analysis of longitudinal, heterogeneous or unbalanced clustered data...

Please sign up or login with your details

Forgot password? Click here to reset