Learn R Programming

⚠️There's a newer version (2.3) of this package.Take me there.

RXshrink (version 2.0)

Maximum Likelihood Shrinkage using Generalized Ridge or Least Angle Regression

Description

Functions are provided to calculate and display ridge TRACE diagnostics for a wide 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 (2021) . This new "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.

Copy Link

Version

Install

install.packages('RXshrink')

Monthly Downloads

380

Version

2.0

License

GPL-2

Maintainer

Bob Obenchain

Last Published

April 2nd, 2021

Functions in RXshrink (2.0)

MLboot

Calculate Bootstrap distribution of Unrestricted Maximum Likelihood (ML) point-estimates for a Linear Model.
MLcalc

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.
eff.aug

Augment calculations performed by eff.ridge() to prepare for display of eliptical confidence regions for pairs of biased coefficient estimates using plot.eff.biv()
YonX

Maximum Likelihood (ML) Shrinkage in Simple Linear Regression
correct.signs

Normal-Theory Maximum Likelihood Estimation of Beta Coefficients with "Correct" Signs
RXshrink-package

Maximum Likelihood (ML) Shrinkage using Generalized Ridge or Least Angle Regression
MLhist

Plot method for MLboot objects
RXpredict

Predictions from Models fit using RXshrink Generalized Ridge Estimation Methods.
aug.lars

Maximum Likelihood Estimation of Effects in Least Angle Regression
MLtrue

Simulate data for Linear Models with known Parameter values and Normal Errors
mpg

Hocking(1976) Miles Per Gallon data and Multiple Regression Benchmark
plot.RXpredict

Plot method for RXpredict objects
plot.YonX

Plot method for YonX objects
plot.aug.lars

Plot method for aug.lars objects
mofk

m-Extents of Shrinkage used in unr.ridge() Calculations.
uc.lars

Maximum Likelihood Least Angle Regression on Uncorrelated X-Components
tycobb

Ty Cobb batting statistics for 1905--1928 with Carl Morris' 2-piece Spline term.
meff

m-Extents of Shrinkage used in eff.ridge() Calculations.
plot.qm.ridge

Plot method for qm.ridge objects
plot.uc.lars

Plot method for uc.lars objects
haldport

Portland Cement benchmark of Hald(1952)
kofm

k-Multipliers and delta-Factors for unr.ridge() Shrinkage.
RXshrink-internal

Internal RXshrink functions
plot.unr.ridge

Plot method for unr.ridge objects
longley2

Art Hoerl's update of the infamous Longley(1967) benchmark dataset
unr.ridge

Unrestricted Maximum Likelihood (ML) Shrinkage using a Piecewise Linear-Spline PATH
eff.biv

Specify pairs of GRR Coefficient Estimates for display in Bivariate Confidence Regions
eff.ridge

Efficient Maximum Likelihood (ML) Shrinkage via the Shortest Piecewise Linear-Spline PATH
qm.ridge

Restricted (2-parameter) Maximum Likelihood Shrinkage in Regression
plot.eff.biv

Plot method for eff.biv objects
plot.eff.ridge

Plot method for eff.ridge objects