Learn R Programming

rqPen (version 2.3)

scad: scad

Description

SCAD penalty function as described in Fan and Li (2001).

Usage

scad(x,lambda,a)

Value

SCAD penalty function with tuning parameters lambda and "a" evaluated at "x".

Arguments

x

Number to be evaluated

lambda

Tuning parameter lambda

a

Tuning parameter a

Author

Ben Sherwood

References

[1] Fan, J. and Li, R. (2001). Variable selection via nonconcave penalized likelihood and its oracle properties, J. Am. Statist. Ass, 96, 1348--1360.

Examples

Run this code
scad(3,1)
scad(-3,1)
scad(.001,2)

Run the code above in your browser using DataLab