Learn R Programming

LogConcDEAD (version 1.2-0)

lcd.eval: Evaluate the log-concave MLE at a point

Description

Function to evaluate the log-concave MLE at a point

Usage

lcd.eval(out, po, uselog=FALSE)

Arguments

out
Object of class LogConcDEAD (output from lcd.mle)
po
Point (or matrix of points) at which MLE should be evaluated
uselog
Logical for whether the estimator should be calculated on the log scale

Value

  • The MLE (or log MLE) evaluated at the point.

Details

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.

See Also

lcd.mle

Examples

Run this code
set.seed(101)
x <- matrix(rnorm(200),ncol=2)
out <- lcd.mle(x)
point <- c(0,0)
lcd.eval(out,point,uselog=FALSE)

Run the code above in your browser using DataLab