guix-commits
[Top][All Lists]
Advanced

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

13/158: gnu: Add r-mclogit.


From: guix-commits
Subject: 13/158: gnu: Add r-mclogit.
Date: Sun, 19 Mar 2023 13:24:02 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 257ef3f659455ee8763acaba2a5118f128a3dd15
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Mar 19 14:37:08 2023 +0100

    gnu: Add r-mclogit.
    
    * gnu/packages/cran.scm (r-mclogit): 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 e2020ce0e5..617df7c1d7 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -2592,6 +2592,31 @@ generalized linear, additive and interaction models to 
potentially
 high-dimensional data.")
    (license license:gpl2)))
 
+(define-public r-mclogit
+  (package
+    (name "r-mclogit")
+    (version "0.9.6")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "mclogit" version))
+              (sha256
+               (base32
+                "0sbglgak6jhhpx65jnj59hbpvzs8qjsdjc4w02z0m5j9hrnmzp4s"))))
+    (properties `((upstream-name . "mclogit")))
+    (build-system r-build-system)
+    (propagated-inputs (list r-matrix r-memisc))
+    (home-page "https://www.elff.eu/software/mclogit/";)
+    (synopsis
+     "Multinomial logit models, with or without random effects or 
overdispersion")
+    (description
+     "This package provides estimators for multinomial logit models in their
+conditional logit and baseline logit variants, with or without random effects,
+with or without overdispersion.  Random effects models are estimated using the
+PQL technique (based on a Laplace approximation) or the MQL technique (based
+on a Solomon-Cox approximation).  Estimates should be treated with caution if
+the group sizes are small.")
+    (license license:gpl2)))
+
 (define-public r-shadowtext
   (package
    (name "r-shadowtext")



reply via email to

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