guix-commits
[Top][All Lists]
Advanced

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

10/13: gnu: Add r-drtmle.


From: guix-commits
Subject: 10/13: gnu: Add r-drtmle.
Date: Tue, 7 Sep 2021 08:11:50 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit b04a2efe46319dff0377f842b862ddb3a7a93543
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue Sep 7 13:27:32 2021 +0200

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 23760bc..8d36bde 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -9761,6 +9761,33 @@ Models\" (Hastie and Tibshirani, 1990).")
 a library of prediction algorithms to be used in the super learner.")
     (license license:gpl3)))
 
+(define-public r-drtmle
+  (package
+    (name "r-drtmle")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "drtmle" version))
+       (sha256
+        (base32
+         "08a6k0nrg6mqdslwjc71583x52vnax87nbfalk98zczwvrrdwvxa"))))
+    (properties `((upstream-name . "drtmle")))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-future-apply" ,r-future-apply)
+       ("r-np" ,r-np)
+       ("r-superlearner" ,r-superlearner)))
+    (native-inputs
+     `(("r-knitr" ,r-knitr)))
+    (home-page "https://github.com/benkeser/drtmle";)
+    (synopsis "Doubly-robust nonparametric estimation and inference")
+    (description
+     "This package implements targeted minimum loss-based estimators of
+counterfactual means and causal effects that are doubly-robust with respect
+both to consistency and asymptotic normality.")
+    (license license:expat)))
+
 (define-public r-mosaiccore
   (package
     (name "r-mosaiccore")



reply via email to

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