lcd.eval {LogConcDEAD} | R Documentation |
Function to evaluate the log-concave MLE at a point
lcd.eval(points, out, uselog=FALSE)
points |
Point (or matrix of points) at which MLE should be evaluated |
out |
Object of class LogConcDEAD (output from lcd.mle ) |
uselog |
Logical for whether the estimator should be calculated on the log scale |
The function is evaluated using the special structure of the MLE. The
appropriate triangulation is returned by lcd.mle
along with the
equation of the hyperplanes defining the surface of the log MLE.
The MLE (or log MLE) evaluated at the point.
Madeleine Cule mlc40@cam.ac.uk
Robert Gramacy
Richard Samworth
set.seed(101) x <- matrix(rnorm(200),ncol=2) out <- lcd.mle(x) point <- c(0,0) lcd.eval(point,out,uselog=FALSE)