dlcd {LogConcDEAD} | R Documentation |
Evaluation of a log-concave maximum likelihood estimator at a point
Description
This function evaluates the density function of a log-concave maximum likelihood estimator at a point or points.
Usage
dlcd(x,lcd, uselog=FALSE, eps=10^-10)
Arguments
x |
Point (or |
lcd |
Object of class |
uselog |
Scalar |
eps |
Tolerance for numerical stability |
Details
A log-concave maximum likelihood estimate
is satisfies
for some
, where
Functions of this form may equivalently be specified by dividing
, the convex hull of the data into simplices
for
(triangles in 2d, tetrahedra in 3d etc), and setting
for , and
for
. The estimated density is zero outside the convex
hull of the data.
The estimate may therefore be evaluated by finding the appropriate
simplex , then evaluating
(if
, set
).
For examples, see mlelcd
.
Value
A vector
of maximum likelihood estimate (or log
maximum likelihood estimate) values, as evaluated at the points x
.
Author(s)
Madeleine Cule
Robert Gramacy
Richard Samworth