
ncvreg
Regularization paths for SCAD- and MCP-penalized regression models
3 years
Works with Finder
6
Github Watches
28
Github Forks
42
Github Stars
Regularization paths for MCP and SCAD penalized regression models
ncvreg
is an R package for fitting regularization paths for linear
regression, GLM, and Cox regression models using lasso or nonconvex
penalties, in particular the minimax concave penalty (MCP) and smoothly
clipped absolute deviation (SCAD) penalty, with options for additional
L2 penalties (the "elastic net" idea). Utilities for carrying
out cross-validation as well as post-fitting visualization,
summarization, inference, and prediction are also provided.
- To get started using
ncvreg
, see the "getting started" vignette - To learn more, follow the links under "Learn more" at the ncvreg website
- For details on the algorithms used by
ncvreg
, see the original article: Breheny P and Huang J (2011) Coordinate descent algorithms for nonconvex penalized regression, with applications to biological feature selection. Annals of Applied Statistics, 5: 232–253 - For more about the marginal false discovery rate idea used for post-selection inference, see Breheny P (2019) Marginal false discovery rates for penalized regression models. Biostatistics, 20: 299-314 and Miller R and Breheny P (2023) Feature-specific inference for penalized regression using local false discovery rates. Statistics in Medicine, 42: 1412–1429.
- I also teach a course on high-dimensional data analysis; the lecture notes are publicly available and may be helpful, in particular the lectures on MCP/SCAD and marginal FDR.
Installation
To install the latest release version from CRAN:
install.packages("ncvreg")
To install the latest development version from GitHub:
remotes::install_github("pbreheny/ncvreg")
相关推荐
I find academic articles and books for research and literature reviews.
Converts Figma frames into front-end code for various mobile frameworks.
Confidential guide on numerology and astrology, based of GG33 Public information
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Advanced software engineer GPT that excels through nailing the basics.
Delivers concise Python code and interprets non-English comments
💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
MCP server to provide Figma layout information to AI coding agents like Cursor
AI Agents & MCPs & AI Workflow Automation • (280+ MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
Python code to use the MCP3008 analog to digital converter with a Raspberry Pi or BeagleBone black.
Reviews

user_NQzHIWgo
As a dedicated user of MCP application, I highly recommend ncvreg by pbreheny. This comprehensive tool offers efficient regularization paths for linear and logistic regression models, tailored especially for high-dimensional data. Its integration and functionality within the R environment are seamless, making it an invaluable resource for statistical analysis and research. Highly efficient and user-friendly!