Mixed-Effect Extreme Gradient Boosting for Longitudinal Data

Fits mixed-effects extreme gradient boosting models for Gaussian, binary and clustered right-censored survival outcomes. Combines subject-specific random effects with boosted trees and optional penalised linear terms using 'xgboost' and 'glmnet'. Provides within-subject cross-fitting, predictor screening, approximate variance-component estimation, conditional prediction and simulation utilities. Builds on extreme gradient boosting by Chen and Guestrin (2016) and mixed-effects gradient boosting by Olaniran et al. (2025) .


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("MEXGB")

1.0.0 by Oyebayo Ridwan Olaniran, 15 hours ago


Browse source code at https://github.com/cran/MEXGB


Authors: Oyebayo Ridwan Olaniran [aut, cre] (ORCID: , Saheed Kunle Ajibade [aut] , Samuel Adewale Aderoju [aut]


Documentation:   PDF Manual  


GPL-2 license


Imports stats, utils, xgboost, MASS, survival, glmnet

Suggests testthat, knitr, rmarkdown


See at CRAN