Package: pecme 0.1.1
pecme: Penalized ECME Estimation for Censored Linear Mixed Models
Fits Gaussian linear mixed models with a random intercept when the response is subject to left, right, and/or interval censoring, using the Expectation/Conditional Maximization Either (ECME) algorithm of Liu and Rubin (1994) in the spirit of the fast censored-response mixed-model algorithm of Vaida and Liu (2009). Simultaneous estimation and variable selection is supported through coordinate-descent penalized maximization with Lasso, Adaptive Lasso, SCAD, MCP, Elastic Net, and Ridge penalties (no penalty is also supported). The random intercept is integrated out by Gauss-Hermite quadrature at every iteration, and the two ECME conditional-maximization steps respectively maximize the expected penalized complete-data objective (for the regression coefficients) and the actual observed-data marginal likelihood (for the variance components), which is the defining feature of ECME relative to plain ECM/EM. The package provides a single-fit engine, a sequential/parallel penalty-parameter grid search with information-criterion or cross-validated selection, data-dependent or user-supplied lambda grids, and an Expectation-Maximization based treatment of a completely missing (at random) response, sharing the same truncated-normal machinery used for censoring. References: Liu and Rubin (1994) "The ECME algorithm: A simple extension of EM and ECM with faster monotone convergence" <doi:10.1093/biomet/81.4.633>; Vaida and Liu (2009) "Fast Implementation for Normal Mixed Effects Models With Censored Response" <doi:10.1198/jcgs.2009.07130>.
Authors:
pecme_0.1.1.tar.gz
pecme_0.1.1.zip(r-4.7-any)pecme_0.1.1.zip(r-4.6-any)pecme_0.1.1.zip(r-4.5-any)
pecme_0.1.1.tgz(r-4.6-any)pecme_0.1.1.tgz(r-4.5-any)
pecme_0.1.1.tar.gz(r-4.7-any)pecme_0.1.1.tar.gz(r-4.6-any)
pecme_0.1.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
pecme/json (API)
| # Install 'pecme' in R: |
| install.packages('pecme', repos = c('https://haeristat.r-universe.dev', 'https://cloud.r-project.org')) |
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:37c38857f1. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 265 | ||
| source / vignettes | OK | 165 | ||
| linux-release | OK | 325 | ||
| macos-release | OK | 304 | ||
| macos-oldrel | OK | 322 | ||
| windows-devel | OK | 234 | ||
| windows-release | OK | 265 | ||
| windows-oldrel | OK | 189 | ||
| wasm-release | OK | 99 |
Exports:grid_pecmepecmepecme_bootstrappecme_effective_dfpecme_lambda_gridpecme_loopecme_metricspecme_mi_combinepecme_quadrature_checksimulate_pecme_data
Dependencies:bootlatticelme4MASSMatrixminqanlmenloptrrbibutilsRcppRcppEigenRdpackreformulaswithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Grid search over the penalty parameter lambda | grid_pecme |
| Fit a penalized ECME censored/missing-response linear mixed model | pecme |
| Cluster (group-level) bootstrap for a pecme fit | pecme_bootstrap |
| Working Ridge-type effective degrees-of-freedom approximation | pecme_effective_df |
| Build a log-spaced lambda grid | pecme_lambda_grid |
| Leave-one-group-out (or leave-one-fold-out) cross-validated log-likelihood | pecme_loo |
| Comprehensive fit-quality metrics for a pecme model | pecme_metrics |
| Combine `pecme` fits across multiply-imputed data sets (Rubin's rules) | pecme_mi_combine |
| Check sensitivity of a fitted model to the Gauss-Hermite quadrature order | pecme_quadrature_check |
| Plot the regularization path and/or selection-criterion curve | plot.pecme_grid |
| Predict from a fitted pecme model | predict.pecme |
| Simulate data from a censored/missing random-intercept linear mixed model | simulate_pecme_data |