emmeans

Estimated marginal (predicted) means from generalized linear mixed effect models in Matlab
438 Downloads
Updated 13 Jun 2020

Estimated marginal (predicted) means from generalized linear mixed effect models in Matlab. Requires the Stats toolbox.

The intent of these Matlab functions is to replicate (at least partially) the incredibly useful 'emmeans' package in R. For now, only output from fitglme can be used. Major limitation is that only interactions between categorical predictor variables are accepted (not between continuous variables or categorical-continuous interactions).

For hypothesis testing, the main difference between using these functions and the native support (e.g. coefTest) is that contrast_wald can take contrasts of the EMMs as input (rather than contrasts defined by the coefficients). Using these EMM contrasts is easier for models with many parameters and also for models with categorical predictors where testing the reference level can be confusing.

Cite As

John Hartman (2024). emmeans (https://github.com/jackatta/estimated-marginal-means), GitHub. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes
1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.