Learn R Programming

RXshrink (version 2.3)

Maximum Likelihood Shrinkage using Generalized Ridge or Least Angle Regression

Description

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) . 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.

Copy Link

Version

Install

install.packages('RXshrink')

Monthly Downloads

380

Version

2.3

License

GPL-2

Maintainer

Bob Obenchain

Last Published

August 7th, 2023

Functions in RXshrink (2.3)

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.
YonX

Maximum Likelihood (ML) Shrinkage in Simple Linear Regression
RXshrink-package

Maximum Likelihood (ML) Shrinkage using Generalized Ridge or Least Angle Regression
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()
MLtrue

Simulate data for Linear Models with known Parameter values and Normal Errors
aug.lars

Maximum Likelihood Estimation of Effects in Least Angle Regression
MLhist

Plot method for MLboot objects
RXpredict

Predictions from Models fit using RXshrink Generalized Ridge Estimation Methods.
MLboot

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

Normal-Theory Maximum Likelihood Estimation of Beta Coefficients with "Correct" Signs
eff.biv

Specify pairs of GRR Coefficient Estimates for display in Bivariate Confidence Regions
meff

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

Art Hoerl's update of the infamous Longley(1967) benchmark dataset
plot.YonX

Plot method for YonX objects
RXshrink-internal

Internal RXshrink functions
mpg

Hocking(1976) Miles Per Gallon data: a Multiple Regression Benchmark
eff.ridge

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

Plot method for RXpredict objects
haldport

Portland Cement data of Hald(1952)
plot.aug.lars

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

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

Plot method for eff.biv objects
tycobb

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

Linear and GAM Spline Predictions from a Single x-Variable
plot.eff.ridge

Plot method for eff.ridge objects
uc.lars

Maximum Likelihood Least Angle Regression on Uncorrelated X-Components
plot.uc.lars

Plot method for uc.lars objects
qm.ridge

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

Plot method for syxi objects