The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

MEMWAS: Mixed-Effects Models with Autocorrelation Structures

Fits longitudinal mixed-effects models through a registered 'C++' numerical backend. Supported serial covariance structures include first-order autoregressive (AR(1)), exponential or Ornstein-Uhlenbeck, higher-order autoregressive (AR(p)), first-order autoregressive moving-average (ARMA(1,1)), compound symmetry, Toeplitz, and unstructured covariance. Serial processes can be unified or attached independently to numeric predictor loadings. Candidate temporal structures can be ranked on a common sample by dependence-component grouped cross-validation, the Akaike information criterion, the Bayesian information criterion, or log-likelihood. Clustered, crossed, and nested random intercepts and slopes are assembled jointly with diagonal or term-specific unstructured covariance. Available approximation methods include Laplace, saddlepoint likelihood with latent Laplace integration, adaptive Gaussian quadrature, full-covariance Gaussian variational inference, and penalized quasi-likelihood. Penalized smooth mean terms include ordinary and cyclic P-splines, factor-by and varying-coefficient terms, tensor products, shrinkage smooths, and whole-term selection. Term-specific penalties, grouped fold-local smoothing selection, null-space constraints, and smooth effective degrees of freedom remain separate from elastic-net coefficient shrinkage while the smooth mean and serial covariance are fitted jointly. Bootstrap resampling preserves the declared dependence components. The mixed-effects framework is inspired by Laird and Ware (1982) <doi:10.2307/2529876>; generalized-model approximations are inspired by Breslow and Clayton (1993) <doi:10.1080/01621459.1993.10594284>; and serial covariance formulations are inspired by Pinheiro and Bates (2000) <doi:10.1007/b98882>. The run-time fitting interface imports no third-party 'R' packages.

Version: 0.9.5
Depends: R (≥ 4.1.0)
Imports: stats, utils
Suggests: knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-08-22
DOI: 10.32614/CRAN.package.MEMWAS
Author: Enoch Kang ORCID iD [aut, cre, trl]
Maintainer: Enoch Kang <y.enoch.kang at gmail.com>
License: GPL (≥ 3)
NeedsCompilation: yes
Language: en-US
Materials: README, NEWS
CRAN checks: MEMWAS results

Documentation:

Reference manual: MEMWAS.html , MEMWAS.pdf
Vignettes: Introduction to MEMWAS (source, R code)

Downloads:

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

Linking:

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.