logcondens2.1.8 package

Estimate a Log-Concave Probability Density from Iid Observations

activeSetLogCon

Computes a Log-Concave Probability Density Estimate via an Active Set ...

activeSetRoutines

Auxiliary Numerical Routines for the Function activeSetLogCon

confIntBootLogConROC_t0

Function to compute a bootstrap confidence interval for the ROC curve ...

evaluateLogConDens

Evaluates the Log-Density MLE and Smoothed Estimator at Arbitrary Real...

icmaLogCon

Computes a Log-Concave Probability Density Estimate via an Iterative C...

intECDF

Computes the Integrated Empirical Distribution Function at Arbitrary R...

intF

Computes the Integral of the estimated CDF at Arbitrary Real Numbers i...

isoMean

Pool-Adjacent Violaters Algorithm: Least Square Fit under Monotonicity...

Jfunctions

Numerical Routine J and Some Derivatives

Lhat_eta

Value of the Log-Likelihood Function L, where Input is in Eta-Parametr...

Local_LL

Value of the Log-Likelihood Function L, where Input is in Phi-Parametr...

Local_LL_all

Log-likelihood, New Candidate and Directional Derivative for L

logConCI

Compute pointwise confidence interval for a density assuming log-conca...

logConCIfunctions

Functions that are used by logConCI

logcondens-package

Estimate a Log-Concave Probability Density from iid Observations

logConDens

Compute log-concave density estimator and related quantities

logConROC

Compute ROC curve based on log-concave estimates for the constituent d...

logconTwoSample

Compute p-values for two-sample test based on log-concave CDF estimate...

maxDiffCDF

Compute maximal difference between CDFs corresponding to log-concave e...

MLE

Unconstrained piecewise linear MLE

plot.dlc

Standard plots for a dlc object

preProcess

Compute a weighted sample from initial observations

Q00

Numerical Routine Q

qloglin

Quantile Function In a Simple Log-Linear model

quadDeriv

Gradient and Diagonal of Hesse Matrix of Quadratic Approximation to Lo...

quantilesLogConDens

Function to compute Quantiles of Fhat

reparametrizations

Changes Between Parametrizations

rlogcon

Generate random sample from the log-concave and the smoothed log-conca...

robust

Robustification and Hermite Interpolation for ICMA

ROCx

Compute ROC curve at a given x based on log-concave estimates for the ...

summary.dlc

Summarizing log-concave density estimation

Given independent and identically distributed observations X(1), ..., X(n), compute the maximum likelihood estimator (MLE) of a density as well as a smoothed version of it under the assumption that the density is log-concave, see Rufibach (2007) and Duembgen and Rufibach (2009). The main function of the package is 'logConDens' that allows computation of the log-concave MLE and its smoothed version. In addition, we provide functions to compute (1) the value of the density and distribution function estimates (MLE and smoothed) at a given point (2) the characterizing functions of the estimator, (3) to sample from the estimated distribution, (5) to compute a two-sample permutation test based on log-concave densities, (6) the ROC curve based on log-concave estimates within cases and controls, including confidence intervals for given values of false positive fractions (7) computation of a confidence interval for the value of the true density at a fixed point. Finally, three datasets that have been used to illustrate log-concave density estimation are made available.

  • Maintainer: Kaspar Rufibach
  • License: GPL (>= 2)
  • Last published: 2023-08-22