Package: ModalNet 0.3.0

Christian E. Galarza
ModalNet: Regularized Parametric Modal Regression: Lasso, Elastic Net and Ridge
Variable selection and estimation for parametric modal regression with continuous positive responses (Gamma, Weibull and Lognormal families) under Lasso, elastic-net, ridge and adaptive-Lasso penalties. The conditional mode is linked to a linear predictor through a logarithmic link using the mode reparameterization of Galarza and Lachos (2026) <doi:10.48550/arXiv.2603.07099>. The penalized log-likelihood is maximized with a proximal Newton algorithm (iteratively reweighted penalized least squares): at each iteration the modal log-likelihood is replaced by a local quadratic surrogate in the linear predictor, which yields a pseudo-response and a working weight in closed form, and the resulting weighted penalized least-squares subproblem is solved by the coordinate-descent solver of 'glmnet' (Friedman, Hastie and Tibshirani, 2010, <doi:10.18637/jss.v033.i01>). The regularization parameter is chosen along a warm-started path by the extended Bayesian information criterion of Chen and Chen (2008) <doi:10.1093/biomet/asn034>.
Authors:
ModalNet_0.3.0.tar.gz
ModalNet_0.3.0.zip(r-4.7-any)ModalNet_0.3.0.zip(r-4.6-any)ModalNet_0.3.0.zip(r-4.5-any)
ModalNet_0.3.0.tgz(r-4.6-any)ModalNet_0.3.0.tgz(r-4.5-any)
ModalNet_0.3.0.tar.gz(r-4.7-any)ModalNet_0.3.0.tar.gz(r-4.6-any)
ModalNet_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
ModalNet/json (API)
| # Install 'ModalNet' in R: |
| install.packages('ModalNet', repos = c('https://chedgala.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/chedgala/modalnet/issues
- riboflavinV100 - Riboflavin production in Bacillus subtilis
Last updated from:bf75da85db. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 111 | ||
| source / vignettes | OK | 175 | ||
| linux-release | OK | 115 | ||
| macos-release | OK | 78 | ||
| macos-oldrel | OK | 82 | ||
| windows-devel | OK | 76 | ||
| windows-release | OK | 72 | ||
| windows-oldrel | OK | 55 | ||
| wasm-release | OK | 77 |
Exports:generate_modal_datamodal_lassomodal_net
Dependencies:codetoolsforeachglmnetiteratorslatticeMatrixRcppRcppEigenshapesurvival
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Simulate data from a modal regression model | generate_modal_data |
| Penalized parametric modal regression for positive responses | modal_net |
| Methods for ModalNet fits | coef.ModalNet fitted.ModalNet logLik.ModalNet ModalNet-methods print.ModalNet print.summary.ModalNet summary.ModalNet |
| Plot the EBIC curve and the coefficient path of a ModalNet fit | plot.ModalNet |
| Predict conditional modes (or means) from a fitted ModalNet model | predict.ModalNet |
| Riboflavin production in Bacillus subtilis (100 most variable genes) | riboflavinV100 |
