dapproxpenalty {penMSM}R Documentation

First derivative of the locally quadratic approximated penalty.

Description

This function calculates the first derivative of the locally quadratic approximated penalty.

Usage

dapproxpenalty(psv, beta, constant)

Arguments

psv

penalty structure vector that determines the l-th penalty component when multyplied with beta.

beta

vector of regression coefficients.

constant

constant that is needed for the locally (in the neighborhood of 0) quadratical approximation of the absolute value function.

Details

This function calculates the first derivative of the locally quadratic approximated penalty.

Value

The value of the derivative.

Author(s)

Holger Reulen

Examples

## Not run: almatrix(psv, beta, constant)

[Package penMSM version 0.99 Index]