Package: RXshrink 2.3

RXshrink: Maximum Likelihood Shrinkage using Generalized Ridge or Least Angle Regression

Functions are provided to calculate and display ridge TRACE Diagnostics for a variety of alternative Shrinkage Paths. While all methods focus on Maximum Likelihood estimation of unknown true effects under normal distribution-theory, some estimates are modified to be Unbiased or to have "Correct Range" when estimating either [1] the noncentrality of the F-ratio for testing that true Beta coefficients are Zeros or [2] the "relative" MSE Risk (i.e. MSE divided by true sigma-square, where the "relative" variance of OLS is known.) The eff.ridge() function implements the "Efficient Shrinkage Path" introduced in Obenchain (2022) <Open Statistics>. This "p-Parameter" Shrinkage-Path always passes through the vector of regression coefficient estimates Most-Likely to achieve the overall Optimal Variance-Bias Trade-Off and is the shortest Path with this property. Functions eff.aug() and eff.biv() augment the calculations made by eff.ridge() to provide plots of the bivariate confidence ellipses corresponding to any of the p*(p-1) possible ordered pairs of shrunken regression coefficients. Functions for plotting TRACE Diagnostics now have more options.

Authors:Bob Obenchain

RXshrink_2.3.tar.gz
RXshrink_2.3.zip(r-4.5)RXshrink_2.3.zip(r-4.4)RXshrink_2.3.zip(r-4.3)
RXshrink_2.3.tgz(r-4.4-any)RXshrink_2.3.tgz(r-4.3-any)
RXshrink_2.3.tar.gz(r-4.5-noble)RXshrink_2.3.tar.gz(r-4.4-noble)
RXshrink_2.3.tgz(r-4.4-emscripten)RXshrink_2.3.tgz(r-4.3-emscripten)
RXshrink.pdf |RXshrink.html
RXshrink/json (API)

# Install 'RXshrink' in R:
install.packages('RXshrink', repos = c('https://rlobenchain.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • haldport - Portland Cement data of Hald
  • longley2 - Art Hoerl's update of the infamous Longley(1967) benchmark dataset
  • mpg - Hocking(1976) Miles Per Gallon data: a Multiple Regression Benchmark
  • tycobb - Ty Cobb batting statistics for 1905-1928 with Carl Morris' 2-piece Spline term.

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.18 score 15 scripts 491 downloads 20 exports 2 dependencies

Last updated 1 years agofrom:8d1a9bd109. Checks:OK: 3 NOTE: 4. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winNOTENov 19 2024
R-4.5-linuxNOTENov 19 2024
R-4.4-winNOTENov 19 2024
R-4.4-macNOTENov 19 2024
R-4.3-winOKNov 19 2024
R-4.3-macOKNov 19 2024

Exports:aug.larsB19correct.signseff.augeff.biveff.ridgekofm1mappmeffMLbootMLcalcMLhistMLtruemofk1mstepqm.ridgeRXpredictsyxiuc.larsYonX

Dependencies:ellipselars

Readme and manuals

Help Manual

Help pageTopics
Maximum Likelihood (ML) Shrinkage using Generalized Ridge or Least Angle RegressionRXshrink-package
Maximum Likelihood Estimation of Effects in Least Angle Regressionaug.lars
Normal-Theory Maximum Likelihood Estimation of Beta Coefficients with "Correct" Signscorrect.signs
Augment calculations performed by eff.ridge() to prepare for display of eliptical confidence regions for pairs of biased coefficient estimates using plot.eff.biv()eff.aug
Specify pairs of GRR Coefficient Estimates for display in Bivariate Confidence Regionseff.biv
Efficient Maximum Likelihood (ML) Shrinkage via the Shortest Piecewise Linear-Spline PATHeff.ridge
Portland Cement data of Hald(1952)haldport
Art Hoerl's update of the infamous Longley(1967) benchmark datasetlongley2
m-Extents of Shrinkage used in eff.ridge() Calculations.meff
Calculate Bootstrap distribution of Unrestricted Maximum Likelihood (ML) point-estimates for a Linear Model.MLboot
Calculate Efficient Maximum Likelihood (ML) point-estimates for a Linear Model that are either Unbiased (OLS) or Most Likely to be Optimally Biased under Normal-distribution theory.MLcalc
Plot method for MLboot objectsMLhist
Simulate data for Linear Models with known Parameter values and Normal ErrorsMLtrue
Hocking(1976) Miles Per Gallon data: a Multiple Regression Benchmarkmpg
Plot method for aug.lars objectsplot.aug.lars
Plot method for eff.biv objectsplot.eff.biv
Plot method for eff.ridge objectsplot.eff.ridge
Plot method for qm.ridge objectsplot.qm.ridge
Plot method for RXpredict objectsplot.RXpredict
Plot method for syxi objectsplot.syxi
Plot method for uc.lars objectsplot.uc.lars
Plot method for YonX objectsplot.YonX
Restricted (2-parameter) Maximum Likelihood Shrinkage in Regressionqm.ridge
Predictions from Models fit using RXshrink Generalized Ridge Estimation Methods.RXpredict
Linear and GAM Spline Predictions from a Single x-Variablesyxi
Ty Cobb batting statistics for 1905-1928 with Carl Morris' 2-piece Spline term.tycobb
Maximum Likelihood Least Angle Regression on Uncorrelated X-Componentsuc.lars
Maximum Likelihood (ML) Shrinkage in Simple Linear RegressionYonX