RXshrink (version 1.4.3)

RXshrink-internal: Internal RXshrink functions

Description

These are internal functions for printing and calculating quantities such as additive K-factors and multiplicative Delta-Factors that determine a specified m-Extent of Shrinkage. mstep() is called by qm.ridge(), true.risk(), true.simu(), aug.lars() and uc.lars().

Usage

mstep(mobj, kinc, p, qp, eqm1)

Arguments

mobj

Objective value for the M-extent-of-shrinkage along a path of shape qp.

kinc

Previous additive eigenvalue inflation constant yielding a smaller mobj.

p

Number of elements in the regression coefficient vector.

qp

Shrinkage path Q-shape parameter.

eqm1

Vector of X'X eigenvalues raised to the power (qp-1).

Value

An output list consisting of two objects (k-factor & d-matrix):

kinc

New k-factor producing an m-Extent-of-shrinkage of mobj.

d

A pxp diagonal matrix of multiplicative shrinkage (delta) factors for the uncorrelated components of the regression coefficient vector.