Learn R Programming

LogConcDEAD (version 1.5-5)

getinfolcd: Construct an object of class LogConcDEAD

Description

A function to construct an object of class LogConcDEAD from a dataset (given as a matrix) and the value of the log maximum likelihood estimator at datapoints.

Usage

getinfolcd(x, y, w = rep(1/length(y), length(y)), chtol = 10^-6, MinSigma = NA, NumberOfEvaluations = NA)

Arguments

x
Data in $R^d$, in the form of an $n \times d$ numeric matrix
y
Value of log of maximum likelihood estimator at data points
w
Vector of weights $w_i$ such that the computed estimator maximizes $$\sum_{i=1}^n w_i \log f(x_i)$$ subject to the restriction that $f$ is log-concave. The default is $\frac{1}{n}$ for all $i$, which corresponds to i.i.d. observations.
chtol
Tolerance for computation of convex hull. Altering this is not recommended.
MinSigma
Real-valued scalar giving minimum value of the objective function
NumberOfEvaluations
Vector containing the number of steps, number of function evaluations, and number of subgradient evaluations. If the SolvOpt algorithm fails, the first component will be an error code $(

Value

  • An object of class "LogConcDEAD", with the following components:
  • xData copied from input (may be reordered)
  • wweights copied from input (may be reordered)
  • logMLEvector of the log of the maximum likelihood estimate, evaluated at the observation points
  • NumberOfEvaluationsVector containing the number of steps, number of function evaluations, and number of subgradient evaluations. If the SolvOpt algorithm fails, the first component will be an error code $(<0)$.< description="">
  • MinSigmaReal-valued scalar giving minimum value of the objective function
  • bmatrix (see Details)
  • betavector (see Details)
  • triangmatrix containing final triangulation of the convex hull of the data
  • vertsmatrix containing details of triangulation for use in dlcd
  • vertsoffsetmatrix containing details of triangulation for use in dlcd
  • chullVector containing vertices of faces of the convex hull of the data
  • outnormmatrix where each row is an outward pointing normal vectors for the faces of the convex hull of the data. The number of vectors depends on the number of faces of the convex hull.
  • outoffsetmatrix where each row is a point on a face of the convex hull of the data. The number of vectors depends on the number of faces of the convex hull.

Details

This function is used in mlelcd

See Also

mlelcd