emmeans
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
Platform Compatibility
Windows macOS LinuxCategories
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Regression > Generalized Linear Models > Generalized Linear Regression >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Versions that use the GitHub default branch cannot be downloaded
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |
|