\documentclass[article, nojss]{jss} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% declarations for jss.cls %% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %\VignetteIndexEntry{logcondens: Computations Related to Univariate Log-Concave Density Estimation (Duembgen and Rufibach, 2011, Journal of Statistical Software, 39(6), 1-28.)} %\VignetteKeywords{logcondens} %\VignetteDepends{logcondens} %\VignettePackage{logcondens} %% almost as usual \author{Lutz D\"{u}mbgen\\University of Bern \And Kaspar Rufibach\\University of Zurich} \title{{\pkg{logcondens}}: Computations Related to Univariate Log-Concave Density Estimation} %% for pretty printing and a nice hypersummary also set: \Plainauthor{Lutz D\"{u}mbgen, Kaspar Rufibach} %% comma-separated \Plaintitle{logcondens: Computations Related to Univariate Log-Concave Density Estimation} %% without formatting \Shorttitle{{\pkg{logcondens}}: Computations Related to Univariate Log-Concave Density Estimation} %% an abstract and keywords \Abstract{ Maximum likelihood estimation of a log-concave density has attracted considerable attention over the last few years. Several algorithms have been proposed to estimate such a density. Two of those algorithms, an iterative convex minorant and an active set algorithm, are implemented in the \proglang{R} package \pkg{logcondens}. While these algorithms are discussed elsewhere, we describe in this paper the use of the \pkg{logcondens} package and discuss functions and datasets related to log-concave density estimation contained in the package. In particular, we provide functions to (1) compute the maximum likelihood estimate (MLE) as well as a smoothed log-concave density estimator derived from the MLE, (2) evaluate the estimated density, distribution and quantile functions at arbitrary points, (3) compute the characterizing functions of the MLE, (4) sample from the estimated distribution, and finally (5) perform a two-sample permutation test using a modified Kolmogorov-Smirnov test statistic. In addition, \pkg{logcondens} makes two datasets available that have been used to illustrate log-concave density estimation. } \Keywords{log-concave, density estimation, Kolmogorov-Smirnov test, \proglang{R}} \Plainkeywords{log-concave, density estimation, R} %% without formatting %% at least one keyword must be supplied %% publication information %% NOTE: Typically, this can be left commented and will be filled out by the technical editor \Volume{39} \Issue{6} \Month{March} \Year{2011} \Submitdate{2009-11-12} \Acceptdate{2010-10-06} %% The address of (at least) one author should be given %% in the following format: \Address{ Lutz D\"umbgen \\ Institute of Mathematical Statistics and Actuarial Science \\ University of Bern \\ 3012 Bern, Switzerland \\ Telephone: +41/0/31631-8802 \\ Fax: +41/0/31631-3805 \\ E-mail: \email{duembgen@stat.unibe.ch} \\ URL: \url{http://www.staff.unibe.ch/duembgen} \bigskip Kaspar Rufibach\\ Biostatistics Unit\\ Institute for Social and Preventive Medicine\\ University of Zurich\\ 8001 Zurich, Switzerland\\ Telephone: +41/0/44634-4643 \\ Fax: +41/0/44634-4386 \\ E-mail: \email{kaspar.rufibach@ifspm.uzh.ch}\\ URL: \url{http://www.biostat.uzh.ch/aboutus/people/rufibach.html} } %% It is also possible to add a telephone and fax number %% before the e-mail in the following format: %% Telephone: +43/1/31336-5053 %% Fax: +43/1/31336-734 %% for those who use Sweave please include the following line (with % symbols): %% need no \usepackage{Sweave.sty} %% end of declarations %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amsthm} \usepackage{latexsym} \usepackage{thumbpdf} \newtheorem{theorem}{Theorem}[section] %\newtheorem{lemma}[theorem]{Lemma} %\newtheorem{corollary}[theorem]{Corollary} %\newtheorem{proposition}[theorem]{Proposition} %\newtheorem{example}[theorem]{Example} \newenvironment{Theorem}{\begin{theorem}\sl}{\end{theorem}} %\newenvironment{Lemma}{\begin{lemma}\sl}{\end{lemma}} %\newenvironment{Corollary}{\begin{corollary}\sl}{\end{corollary}} %\newenvironment{Proposition}{\begin{proposition}\sl}{\end{proposition}} %\newenvironment{Example}{\begin{example}\rm}{\end{example}} \def\bea{\begin{eqnarray*}} \def\eea{\end{eqnarray*}} \def\be{\begin{equation}} \def\ee{\end{equation}} \def\bean{\begin{eqnarray}} \def\eean{\end{eqnarray}} \def\barr{\begin{array}} \def\earr{\end{array}} \def\bdes{\begin{description}} \def\edes{\end{description}} \def\bi{\begin{itemize}} \def\ei{\end{itemize}} \def\hat{\widehat} \def\R{\mathbb{R}} \def\est{\widehat{f}} \def\lest{\widehat{\varphi}} \def\dest{\widehat{F}} \def\SS{\mathcal{S}} \newcommand{\ED}{\mathbb{F}} \def\d{\, \mathrm{d}} \def\Del{\Delta} \def\Bl{\Bigl} \def\Br{\Bigr} \newcommand{\ve}[1]{\mathbf{#1}} \def\Var{\mathop{\rm Var}\nolimits} \def\argmax{\mathop{\rm arg\,max}} \def\PP{{\cal P}} \def\II{{\cal I}} \def\KK{{\cal K}} \def\RR{{\cal R}} \newcommand{\SupN}[1]{\Vert #1 \Vert_\infty} \SweaveOpts{keep.source = TRUE} \SweaveOpts{prefix.string = plots/} <