Learn R Programming

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

RXshrink (version 1.6)

Maximum Likelihood Shrinkage using Generalized Ridge or Least Angle Regression Methods

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 unr.ridge() function implements the "Unrestricted Path" introduced in Obenchain (2020) . This "new" p-parameter Shrinkage-Path is more efficient than the Paths used by qm.ridge(), aug.lars() and uc.lars(). Functions unr.aug() and unr.biv() augment the calculations made by unr.ridge() to provide plots of the bivariate confidence ellipses corresponding to any of the p*(p-1) possible pairs of shrunken regression coefficients.

Copy Link

Version

Install

install.packages('RXshrink')

Monthly Downloads

387

Version

1.6

License

GPL-2

Maintainer

Bob Obenchain

Last Published

January 10th, 2021

Functions in RXshrink (1.6)

MLtrue

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

Maximum Likelihood Estimation of Effects in Least Angle Regression
RXshrink-package

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

Maximum Likelihood (ML) Shrinkage in Simple Linear Regression
MLcalc

Calculate Unrestricted Maximum Likelihood (ML) point-estimates for a Linear Model that are either Unbiased (OLS) or nearly Optimally Biased under Normal-distribution theory.
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
haldport

Portland Cement benchmark of Hald(1952)
MLhist

Plot method for MLboot objects
mpg

Hocking(1976) Miles Per Gallon data and Multiple Regression Benchmark
mofk

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

Plot method for qm.ridge objects
longley2

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

Specify pairs of GRR Coefficient Estimates for display in Bivariate Confidence Regions
RXshrink-internal

Internal RXshrink functions
plot.aug.lars

Plot method for aug.lars objects
plot.YonX

Plot method for YonX objects
uc.lars

Maximum Likelihood Least Angle Regression on Uncorrelated X-Components
unr.aug

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

Plot method for uc.lars objects
tycobb

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

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

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

Plot method for unr.ridge objects
kofm

k-Multipliers and delta-Factors for unr.ridge() Shrinkage.
plot.RXpredict

Plot method for RXpredict objects
unr.ridge

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