[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/32: gnu: Add r-logistf.
From: |
guix-commits |
Subject: |
05/32: gnu: Add r-logistf. |
Date: |
Wed, 19 Jul 2023 09:55:35 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 1b48d723bd70b90b8526697debb1805994cbe431
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Jul 19 13:09:32 2023 +0200
gnu: Add r-logistf.
* gnu/packages/cran.scm (r-logistf): New variable.
---
gnu/packages/cran.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 589bcd8f30..4229fc2cea 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -19443,6 +19443,37 @@ hierarchic loggers, multiple handlers per logger,
level based filtering, space
handling in messages and custom formatting.")
(license license:gpl3)))
+(define-public r-logistf
+ (package
+ (name "r-logistf")
+ (version "1.25.0")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "logistf" version))
+ (sha256
+ (base32
+ "0w78jsynw5jh3l9r3ssjs8rza6givgrxzwnb5jwazcm8637d6gix"))))
+ (properties `((upstream-name . "logistf")))
+ (build-system r-build-system)
+ (propagated-inputs (list r-formula-tools r-matrix r-mgcv r-mice))
+ (home-page
+ "https://cemsiis.meduniwien.ac.at/en/kb/science-research\
+/software/statistical-software/firth-correction/")
+ (synopsis "Firth's bias-reduced logistic regression")
+ (description
+ "Fit a logistic regression model using Firth's bias reduction method,
+equivalent to penalization of the log-likelihood by the Jeffreys prior.
+Confidence intervals for regression coefficients can be computed by penalized
+profile likelihood. Firth's method was proposed as ideal solution to the
+problem of separation in logistic regression, see Heinze and Schemper (2002)
+<doi:10.1002/sim.1047>. If needed, the bias reduction can be turned off such
+that ordinary maximum likelihood logistic regression is obtained. Two new
+modifications of Firth's method, FLIC and FLAC, lead to unbiased predictions
+and are now available in the package as well, see Puhr et al (2017)
+<doi:10.1002/sim.7273>.")
+ ;; Any version of the GPL
+ (license license:gpl3+)))
+
(define-public r-longdat
(package
(name "r-longdat")
- branch master updated (b2750695f7 -> b9bd1bcce9), guix-commits, 2023/07/19
- 01/32: gnu: Add r-gwasexacthw., guix-commits, 2023/07/19
- 02/32: gnu: Add r-uchardet., guix-commits, 2023/07/19
- 04/32: gnu: Add r-formula-tools., guix-commits, 2023/07/19
- 03/32: gnu: Add r-operator-tools., guix-commits, 2023/07/19
- 05/32: gnu: Add r-logistf.,
guix-commits <=
- 06/32: gnu: Add r-enhancedvolcano., guix-commits, 2023/07/19
- 08/32: gnu: Add r-genomicdatacommons., guix-commits, 2023/07/19
- 07/32: gnu: Add r-snprelate., guix-commits, 2023/07/19
- 09/32: gnu: Add r-dyndoc., guix-commits, 2023/07/19
- 14/32: gnu: Add r-raggedexperiment., guix-commits, 2023/07/19
- 20/32: gnu: Add r-nebulosa., guix-commits, 2023/07/19
- 24/32: gnu: Add r-ucell., guix-commits, 2023/07/19
- 11/32: gnu: Add r-plyranges., guix-commits, 2023/07/19
- 13/32: gnu: Add r-spatialexperiment., guix-commits, 2023/07/19
- 21/32: gnu: Add r-seqarray., guix-commits, 2023/07/19