This function implements the first derivative of the penalty function.
dpenaltyfunction(psv, beta)
Arguments
psv: penalty structure vector.
beta: estimated regression effects.
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.
Returns
Value of the first derivative of the penalty function (note: this is always 1, since the penalty fucntion p(xi)=xi is just the identity).