g.ridge: An R Package for Generalized Ridge Regression for Sparse and High-Dimensional Linear Models
Open Access
Abstract
Ridge regression is one of the most popular shrinkage estimation methods for linear models. Ridge regression effectively estimates regression coefficients in the presence of high-dimensional regressors. Recently, a generalized ridge estimator was suggested that involved generalizing the uniform shrinkage of ridge regression to non-uniform shrinkage; this was shown to perform well in sparse and high-dimensional linear models. In this paper, we introduce our newly developed R package “g.ridge” (first version published on 7 December 2023) that implements both the ridge estimator and generalized ridge estimator. The package is equipped with generalized cross-validation for the automatic estimation of shrinkage parameters. The package also includes a convenient tool for generating a design matrix. By simulations, we test the performance of the R package under sparse and high-dimensional settings with normal and skew-normal error distributions. From the simulation results, we conclude that the generalized ridge estimator is superior to the benchmark ridge estimator based on the R package “glmnet”. Hence the generalized ridge estimator may be the most recommended estimator for sparse and high-dimensional models. We demonstrate the package using intracerebral hemorrhage data.Keywords
All Related Versions
Funding Information
- JSPS KAKENHI (22K11948, 20H04147)
- JSPS KAKENHI (22K11948, 20H04147)
This publication has 49 references indexed in Scilit:
- Bayesian ridge estimators based on copula-based joint prior distributions for regression coefficientsComputational Statistics, 2022
- Regression model under skew-normal error with applications in predicting groundwater arsenic level in the Mekong Delta RegionEnvironmental and Ecological Statistics, 2021
- Robust ridge M-estimators with pretest and Stein-rule shrinkage for an intercept termJapanese Journal of Statistics and Data Science, 2020
- Lactate Dehydrogenase Predicts Early Hematoma Expansion and Poor Outcomes in Intracerebral Hemorrhage PatientsTranslational Stroke Research, 2019
- Preliminary test and Stein-type shrinkage ridge estimators in robust regressionStatistical Papers, 2017
- An iterative approach to minimize the mean squared error in ridge regressionComputational Statistics, 2015
- Ridge Regression in Prediction Problems: Automatic Choice of the Ridge ParameterGenetic Epidemiology, 2013
- Efficient approximate k‐fold and leave‐one‐out cross‐validation for ridge regressionBiometrical Journal, 2013
- Sine-skewed axial distributions with an application for fallen tree dataEnvironmental and Ecological Statistics, 2012
- A generalization and Bayesian interpretation of ridge-type estimators with good prior meansStatistical Papers, 1990