guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

10/13: gnu: Add r-dunn-test.


From: guix-commits
Subject: 10/13: gnu: Add r-dunn-test.
Date: Mon, 3 Jul 2023 04:01:09 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 6398fa786032ad0919267019e260082354980635
Author: Navid Afkhami <navid.afkhami@mdc-berlin.de>
AuthorDate: Fri Jun 23 13:48:54 2023 +0000

    gnu: Add r-dunn-test.
    
    * gnu/packages/cran.scm (r-dunn-test): New variable.
---
 gnu/packages/cran.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index fc2c4afa89..736a0aefde 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -27358,6 +27358,31 @@ forest) is fit on the kernel matrix of a subset of the 
training data.")
 classes into dummy/indicator variables.")
     (license license:gpl2+)))
 
+(define-public r-dunn-test
+  (package
+    (name "r-dunn-test")
+    (version "1.3.5")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "dunn.test" version))
+              (sha256
+               (base32
+                "0lqwvyl3pyygfc73nf81gzw3zl3w43r7ki0yw2dgrzhkpb2iji4a"))))
+    (properties `((upstream-name . "dunn.test")))
+    (build-system r-build-system)
+    (home-page "https://cran.r-project.org/package=dunn.test";)
+    (synopsis "Dunn's test of multiple comparisons using rank sums")
+    (description
+     "Dunn's test computes stochastic dominance & reports pairwise comparisons.
+This is done following a Kruskal-Wallis test (Kruskal and Wallis, 1952).  It
+employs Dunn's z-test-statistic approximations for rank statistics, conducting
+k(k-1)/2 comparisons.  The null hypothesis assumes that the probability of a
+randomly selected value from the first group being larger than one from the
+second group is one half, similar to the Wilcoxon-Mann-Whitney test.  Dunn's
+test serves as a test for median difference and takes into account tied
+ranks.")
+    (license license:gpl2)))
+
 (define-public r-acrm
   (package
     (name "r-acrm")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]