Package: LMMELSM 0.2.0

LMMELSM: Fit Latent Multivariate Mixed Effects Location Scale Models

In addition to modeling the expectation (location) of an outcome, mixed effects location scale models (MELSMs) include submodels on the variance components (scales) directly. This allows models on the within-group variance with mixed effects, and between-group variances with fixed effects. The MELSM can be used to model volatility, intraindividual variance, uncertainty, measurement error variance, and more. Multivariate MELSMs (MMELSMs) extend the model to include multiple correlated outcomes, and therefore multiple locations and scales. The latent multivariate MELSM (LMMELSM) further includes multiple correlated latent variables as outcomes. This package implements two-level mixed effects location scale models on multiple observed or latent outcomes, and between-group variance modeling. Williams, Martin, Liu, and Rast (2020) <doi:10.1027/1015-5759/a000624>. Hedeker, Mermelstein, and Demirtas (2008) <doi:10.1111/j.1541-0420.2007.00924.x>.

Authors:Stephen Martin [aut, cre], Philippe Rast [aut]

LMMELSM_0.2.0.tar.gz
LMMELSM_0.2.0.zip(r-4.5)LMMELSM_0.2.0.zip(r-4.4)LMMELSM_0.2.0.zip(r-4.3)
LMMELSM_0.2.0.tgz(r-4.5-arm64)LMMELSM_0.2.0.tgz(r-4.4-arm64)LMMELSM_0.2.0.tgz(r-4.3-arm64)
LMMELSM_0.2.0.tar.gz(r-4.5-noble)LMMELSM_0.2.0.tar.gz(r-4.4-noble)
LMMELSM.pdf |LMMELSM.html
LMMELSM/json (API)
NEWS

# Install 'LMMELSM' in R:
install.packages('LMMELSM', repos = c('https://stephensrmmartin.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stephensrmmartin/lmmelsm/issues

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:
  • sim_data - Simulated data for fitting the LMMELSM

On CRAN:

Conda:

bayesianmixed-effectsmultilevel-modelsstanstatisticscpp

3.00 score 2 stars 9 scripts 201 downloads 3 exports 54 dependencies

Last updated 3 years agofrom:041855acb9. Checks:1 OK, 8 WARNING. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 26 2025
R-4.5-win-x86_64WARNINGMar 26 2025
R-4.5-mac-aarch64WARNINGMar 26 2025
R-4.5-linux-x86_64WARNINGMar 26 2025
R-4.4-win-x86_64WARNINGMar 26 2025
R-4.4-mac-aarch64WARNINGMar 26 2025
R-4.4-linux-x86_64WARNINGMar 26 2025
R-4.3-win-x86_64WARNINGMar 26 2025
R-4.3-mac-aarch64WARNINGMar 26 2025

Exports:lmmelsmlooranef

Dependencies:abindbackportsBHcallrcheckmateclicolorspacedescdistributionalfansifarverFormulagenericsggplot2gluegridExtragtableinlineisobandlabelinglatticelifecycleloomagrittrMASSMatrixmatrixStatsmgcvmunsellnlmenumDerivpillarpkgbuildpkgconfigposteriorprocessxpsQuickJSRR6RColorBrewerRcppRcppEigenRcppParallelrlangrstanrstantoolsscalesStanHeaderstensorAtibbleutf8vctrsviridisLitewithr