Learn R Programming

penMSM (version 0.99)

dapproxpenalty: 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.

Value

Details

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

Examples

Run this code
## Not run: almatrix(psv, beta, constant)

Run the code above in your browser using DataLab