WeMix: Weighted Mixed-Effects Models Using Multilevel Pseudo Maximum Likelihood Estimation

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>).

Version: 4.0.3
Depends: lme4, R (≥ 3.5.0)
Imports: numDeriv, Matrix (≥ 1.5-4.1), methods, minqa, matrixStats
Suggests: testthat, knitr, rmarkdown, withr, tidyr, EdSurvey (≥ 4.0.0), glmmTMB
Published: 2023-11-03
DOI: 10.32614/CRAN.package.WeMix
Author: Emmanuel Sikali [pdr], Paul Bailey [aut, cre], Blue Webb [aut], Claire Kelley [aut], Trang Nguyen [aut], Huade Huo [aut], Steve Walker [cph] (lme4pureR PIRLS function), Doug Bates [cph] (lme4pureR PIRLS function), Eric Buehler [ctb], Christian Christrup Kjeldsen [ctb]
Maintainer: Paul Bailey <pbailey at air.org>
BugReports: https://github.com/American-Institutes-for-Research/WeMix/issues
License: GPL-2
URL: https://american-institutes-for-research.github.io/WeMix/
NeedsCompilation: no
Materials: NEWS
In views: MixedModels
CRAN checks: WeMix results

Documentation:

Reference manual: WeMix.pdf
Vignettes: Introduction to Weighted Mixed-Effects Models With WeMix
Weighted Linear Mixed-Effects Models

Downloads:

Package source: WeMix_4.0.3.tar.gz
Windows binaries: r-devel: WeMix_4.0.3.zip, r-release: WeMix_4.0.3.zip, r-oldrel: WeMix_4.0.3.zip
macOS binaries: r-release (arm64): WeMix_4.0.3.tgz, r-oldrel (arm64): WeMix_4.0.3.tgz, r-release (x86_64): WeMix_4.0.3.tgz, r-oldrel (x86_64): WeMix_4.0.3.tgz
Old sources: WeMix archive

Reverse dependencies:

Reverse imports: EdSurvey

Linking:

Please use the canonical form https://CRAN.R-project.org/package=WeMix to link to this page.