From 4a1377000305a923ea46f88a07a55ee38cf82bfc Mon Sep 17 00:00:00 2001 From: Peter Lo Date: Mon, 29 Jun 2020 16:03:37 +0800 Subject: gnu: Add r-mlecens. * gnu/packages/cran.scm (r-mlecens): New variable. Signed-off-by: Ricardo Wurmus --- gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 7e5057b52b..d67dcc9e93 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -24186,3 +24186,30 @@ model-related packages.") statistical analysis that share the underlying design philosophy, grammar, and data structures of the tidyverse.") (license license:gpl3))) + +(define-public r-mlecens + (package + (name "r-mlecens") + (version "0.1-4") + (source + (origin + (method url-fetch) + (uri (cran-uri "MLEcens" version)) + (sha256 + (base32 + "0zlmrcjraypscgs2v0w4s4hm7qccsmaz4hjsgqpn0058vx622945")))) + (properties `((upstream-name . "MLEcens"))) + (build-system r-build-system) + (home-page "http://stat.ethz.ch/~maathuis/") + (synopsis "Computation of the MLE for bivariate (interval) censored data") + (description + "This package contains functions to compute the nonparametric +@dfn{maximum likelihood estimator} (MLE) for the bivariate distribution of +@code{(X,Y)}, when realizations of @code{(X,Y)} cannot be observed directly. +To be more precise, we consider the situation where we observe a set of +rectangles that are known to contain the unobservable realizations of (X,Y). +We compute the MLE based on such a set of rectangles. The methods can also be +used for univariate censored data (see data set @code{cosmesis}), and for +censored data with competing risks (see data set @code{menopause}). The +package also provides functions to visualize the observed data and the MLE.") + (license license:gpl2+))) -- cgit v1.2.3