summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2020-06-16 09:16:51 +0200
committerRicardo Wurmus <rekado@elephly.net>2020-06-16 09:33:53 +0200
commitaee8cc0a0d25fa8efccff825f1768d97fedadbbd (patch)
tree9e5b5734fb3d2943de39129c3ea23007e068ee11 /gnu
parent6a933e9a8b33a3b1f776218b39eede636dfd8c82 (diff)
gnu: Add r-brglm.
* gnu/packages/cran.scm (r-brglm): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/cran.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 7c750956c4..4afe9d489c 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -6657,6 +6657,37 @@ on the methods that are implemented can be found in Kosmidis (2008)
@url{https://www.r-project.org/doc/Rnews/Rnews_2008-2.pdf}.")
(license license:gpl2+)))
+(define-public r-brglm
+ (package
+ (name "r-brglm")
+ (version "0.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "brglm" version))
+ (sha256
+ (base32
+ "0c9ngscc6zlfm90fqyggnj04qfkhp5qgf5q3wnfpxwyc8cm47by2"))))
+ (properties `((upstream-name . "brglm")))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-profilemodel" ,r-profilemodel)))
+ (home-page "https://github.com/ikosmidis/brglm")
+ (synopsis "Bias reduction in binomial-response generalized linear models")
+ (description
+ "Fit generalized linear models with binomial responses using either an
+adjusted-score approach to bias reduction or maximum penalized likelihood
+where penalization is by Jeffreys invariant prior. These procedures return
+estimates with improved frequentist properties (bias, mean squared error) that
+are always finite even in cases where the maximum likelihood estimates are
+infinite (data separation). Fitting takes place by fitting generalized linear
+models on iteratively updated pseudo-data. The interface is essentially the
+same as @code{glm}. More flexibility is provided by the fact that custom
+pseudo-data representations can be specified and used for model fitting.
+Functions are provided for the construction of confidence intervals for the
+reduced-bias estimates.")
+ (license license:gpl2+)))
+
(define-public r-abn
(package
(name "r-abn")