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>.
Version: |
0.2.0 |
Depends: |
R (≥ 3.4.0) |
Imports: |
Formula (≥ 1.2), loo (≥ 2.3.0), MASS (≥ 7.0), methods, nlme (≥ 3.0), parallel (≥ 3.6.0), Rcpp (≥ 0.12.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), rstantools (≥ 2.2.0) |
LinkingTo: |
BH (≥ 1.66.0), Rcpp (≥ 0.12.0), RcppEigen (≥ 0.3.3.3.0), RcppParallel (≥ 5.0.1), rstan (≥ 2.18.1), StanHeaders (≥
2.18.0) |
Suggests: |
testthat |
Published: |
2022-12-15 |
DOI: |
10.32614/CRAN.package.LMMELSM |
Author: |
Stephen Martin
[aut, cre],
Philippe Rast
[aut] |
Maintainer: |
Stephen Martin <stephenSRMMartin at gmail.com> |
BugReports: |
https://github.com/stephenSRMMartin/LMMELSM |
License: |
MIT + file LICENSE |
NeedsCompilation: |
yes |
SystemRequirements: |
GNU make |
Materials: |
README NEWS |
CRAN checks: |
LMMELSM results |
Documentation:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=LMMELSM
to link to this page.