Shape-Constrained Kernel Density Estimation

Implements methods for obtaining kernel density estimates subject to a variety of shape constraints (unimodality, bimodality, symmetry, tail monotonicity, bounds, and constraints on the number of inflection points). Enforcing constraints can eliminate unwanted waves or kinks in the estimate, which improves its subjective appearance and can also improve statistical performance. The main function scdensity() is very similar to the density() function in 'stats', allowing shape-restricted estimates to be obtained with little effort. The methods implemented in this package are described in Wolters and Braun (2017) , Wolters (2012) , and Hall and Huang (2002) < http://www3.stat.sinica.edu.tw/statistica/j12n4/j12n41/j12n41.htm>. See the scdensity() help for for full citations.


News

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("scdensity")

1.0.2 by Mark A. Wolters, a year ago


Browse source code at https://github.com/cran/scdensity


Authors: Mark A. Wolters [aut, cre]


Documentation:   PDF Manual  


GPL-2 license


Imports quadprog, lpSolve

Suggests testthat


See at CRAN