Skip to content

logcondens

Estimate a Log-Concave Probability Density from Iid Observations

v2.1.8 · Aug 22, 2023 · GPL (>= 2)

Description

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.

Downloads

4.3K

Last 30 days

1897th

15.2K

Last 90 days

90.4K

Last year

Trend: -7.5% (30d vs prior 30d)

CRAN Check Status

2 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Kaspar Rufibach <kaspar.rufibach@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Kaspar",
                      family = "Rufibach",
                      role = c("aut", "cre"),
                      email = "kaspar.rufibach@gmail.com"),
               person(given = "Lutz",
                      family = "Duembgen",
                      role = "aut",
                      email = "duembgen@stat.unibe.ch"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Kaspar Rufibach <kaspar.rufibach@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Kaspar",
                      family = "Rufibach",
                      role = c("aut", "cre"),
                      email = "kaspar.rufibach@gmail.com"),
               person(given = "Lutz",
                      family = "Duembgen",
                      role = "aut",
                      email = "duembgen@stat.unibe.ch"))
as necessary.

Check History

NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Kaspar Rufibach <kaspar.rufibach@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Kaspar",
                      family = "Rufibach",
                      role = c("aut", "cre"),
                      email = "kaspar.rufibach@gmail.com"),
               person(given = "Lutz",
                      family = "Duembgen",
                      role = "aut",
                      email = "duembgen@stat.unibe.ch"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Kaspar Rufibach <kaspar.rufibach@gmail.com>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Kaspar",
                      family = "Rufibach",
                      role = c("aut", "cre"),
                      email = "kaspar.rufibach@gmail.com"),
               person(given = "Lutz",
                      family = "Duembgen",
                      role = "aut",
                      email = "duembgen@stat.unibe.ch"))
as necessary.

Reverse Dependencies (3)

depends

suggests

Dependency Network

Dependencies Reverse dependencies ks smoothtail logconcens pROC logcondens

Version History

new 2.1.8 Mar 10, 2026
updated 2.1.8 ← 2.1.7 diff Aug 21, 2023
updated 2.1.7 ← 2.1.6 diff Jan 5, 2023
updated 2.1.6 ← 2.1.5 diff Oct 11, 2021
updated 2.1.5 ← 2.1.4 diff Jul 13, 2016
updated 2.1.4 ← 2.1.3 diff Jul 2, 2015
updated 2.1.3 ← 2.1.2 diff Jun 9, 2015
updated 2.1.2 ← 2.1.1 diff Sep 5, 2014
updated 2.1.1 ← 2.1.0 diff Feb 18, 2014
updated 2.1.0 ← 2.0.9 diff Dec 15, 2013
updated 2.0.9 ← 2.0.8 diff Oct 14, 2012
updated 2.0.8 ← 2.0.7 diff Oct 10, 2012
updated 2.0.7 ← 2.0.6 diff Mar 22, 2012
updated 2.0.6 ← 2.0.5 diff Dec 18, 2011
updated 2.0.5 ← 2.0.4 diff Nov 28, 2011
updated 2.0.4 ← 2.0.3 diff Apr 23, 2011
updated 2.0.3 ← 2.0.2 diff Mar 4, 2011
updated 2.0.2 ← 2.0.1 diff Feb 23, 2011
updated 2.0.1 ← 2.0.0 diff Nov 18, 2010
updated 2.0.0 ← 1.3.5 diff Aug 26, 2010