diff options
author | Peter Lo <peterloleungyau@gmail.com> | 2020-06-29 16:03:37 +0800 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2020-09-11 19:16:51 +0200 |
commit | 4a1377000305a923ea46f88a07a55ee38cf82bfc (patch) | |
tree | 4f2009d3f97f8d98834b52ee08c61f0cb76c4da4 /gnu/packages/cran.scm | |
parent | 488001eb3f7938db6e079f6a4f6fedf96a9278c1 (diff) |
gnu: Add r-mlecens.
* gnu/packages/cran.scm (r-mlecens): New variable.
Signed-off-by: Ricardo Wurmus <rekado@elephly.net>
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r-- | gnu/packages/cran.scm | 27 |
1 files changed, 27 insertions, 0 deletions
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+))) |