WeMix

From MaRDI portal
Software:63662



CRANWeMixMaRDI QIDQ63662

Weighted Mixed-Effects Models Using Multilevel Pseudo Maximum Likelihood Estimation

Paul Bailey, Blue Webb, Claire Kelley, Trang Nguyen, Huade Huo

Last update: 3 November 2023

Software version identifier: 4.0.0, 1.0.2, 2.0.0, 2.1.0, 2.2.0, 2.2.1, 3.0.0, 3.1.1, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 3.1.7, 3.1.8, 3.1.9, 3.2.0, 3.2.1, 3.2.2, 3.2.4, 3.3.0, 4.0.3


Copyright license: GNU General Public License, version 2.0

Run mixed-effects models that include weights at every level. The WeMix package fits a weighted mixed model, also known as a multilevel, mixed, or hierarchical linear model (HLM). The weights could be inverse selection probabilities, such as those developed for an education survey where schools are sampled probabilistically, and then students inside of those schools are sampled probabilistically. Although mixed-effects models are already available in R, WeMix is unique in implementing methods for mixed models using weights at multiple levels. Both linear and logit models are supported. Models may have up to three levels. Random effects are estimated using the PIRLS algorithm from 'lme4pureR' (Walker and Bates (2013) <https://github.com/lme4/lme4pureR>).