Learn R Programming

penMSM (version 0.99)

dpenaltyfunction: First derivative of the penalty function.

Description

This function implements the first derivative of the penalty function.

Usage

dpenaltyfunction(psv, beta)

Arguments

psv
penalty structure vector.
beta
estimated regression effects.

Value

is always 1, since the penalty fucntion p(xi)=xi is just the identity).

Details

This function implements the first derivative of the penalty function with respect to the penalty. The term 'penalty function' is described in detail on p. 4 in Oelker, Tutz (2013): A General Family of Penalties for Combining Differing Types of Penalties in Generalized Structured Models.

Examples

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

Run the code above in your browser using DataLab