From patchwork Tue Apr 23 11:25:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TcSDZMSDbGluIElvbmVsIFBhdHJhyJljdQ==?= X-Patchwork-Id: 63312 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 19D6D27BBEA; Tue, 23 Apr 2024 12:28:52 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id EFE8827BBE9 for ; Tue, 23 Apr 2024 12:28:50 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzEJg-0002kp-Lx; Tue, 23 Apr 2024 07:28:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzEJf-0002kF-L5 for guix-patches@gnu.org; Tue, 23 Apr 2024 07:28:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rzEJf-00066S-Ch for guix-patches@gnu.org; Tue, 23 Apr 2024 07:28:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rzEJv-00013o-PG; Tue, 23 Apr 2024 07:28:19 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70535] [PATCH 4/5] gnu: Add r-detectseparation. Resent-From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Original-Sender: "Debbugs-submit" Resent-CC: rekado@elephly.net, guix-patches@gnu.org Resent-Date: Tue, 23 Apr 2024 11:28:19 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70535 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: <70535@debbugs.gnu.org> Cc: Ricardo Wurmus X-Debbugs-Original-Xcc: Ricardo Wurmus Received: via spool by 70535-submit@debbugs.gnu.org id=B70535.17138716633625 (code B ref 70535); Tue, 23 Apr 2024 11:28:19 +0000 Received: (at 70535) by debbugs.gnu.org; 23 Apr 2024 11:27:43 +0000 Received: from localhost ([127.0.0.1]:51584 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rzEJK-0000wL-Ok for submit@debbugs.gnu.org; Tue, 23 Apr 2024 07:27:43 -0400 Received: from a2062.mx.srv.dfn.de ([194.95.232.172]:56867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rzEIv-0000qe-D0 for 70535@debbugs.gnu.org; Tue, 23 Apr 2024 07:27:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:x-mailer:message-id:date:date:subject :subject:from:from:received; s=mdc; t=1713871615; x=1715686016; bh=Lo/RyXMUbEIYM0awuqVC3F65W6lrPySvsgSJOmkMek8=; b=RGNA4Ruw91UA 2NW5TGLuE5TwG2WCaxNC9zVp2sVVFHU8zorTzK8bmkmPJSHjIn79GL5ZLDddovT+ +kekBnLinEN0q0v+6BevEyuJnzwhhXidQycH5L89i4vDDELFlb6heX4r9PFSxjQB vD8eecq22A3hotalZZvp66rma9PAwnU= Received: from SW-IT-P-EX4.mdc-berlin.net (mgw4.mdc-berlin.de [141.80.113.62]) by a2062.mx.srv.dfn.de (Postfix) with ESMTPS id EEB3CA02C9 for <70535@debbugs.gnu.org>; Tue, 23 Apr 2024 13:26:54 +0200 (CEST) Received: from cl-akalin11.mdc-berlin.net (141.80.219.20) by SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Tue, 23 Apr 2024 13:26:53 +0200 From: =?utf-8?b?TcSDZMSDbGlu?= Ionel =?utf-8?b?UGF0cmHImWN1?= Date: Tue, 23 Apr 2024 13:25:45 +0200 Message-ID: <4fb130e4a11b7a2214afa52b45b0b49635d00a36.1713871546.git.madalinionel.patrascu@mdc-berlin.de> X-Mailer: git-send-email 2.41.0 In-Reply-To: <169f518d77f20df0bfa5f59d5e4a6d4cd7d2282b.1713871546.git.madalinionel.patrascu@mdc-berlin.de> References: <169f518d77f20df0bfa5f59d5e4a6d4cd7d2282b.1713871546.git.madalinionel.patrascu@mdc-berlin.de> MIME-Version: 1.0 X-Originating-IP: [141.80.219.20] X-ClientProxiedBy: SW-IT-P-EX1.mdc-berlin.net (141.80.113.54) To SW-IT-P-EX4.mdc-berlin.net (141.80.113.62) X-TM-AS-Product-Ver: SMEX-14.0.0.3152-9.1.2019-28338.007 X-TM-AS-Result: No-10--3.449500-5.000000 X-TMASE-MatchedRID: ZAkTtSyZ7B4EZ1mm50iAbnOjEKYddvv63O2+pOfl+vcwLJ9PZUBQhQMR 0wfnN/Lq2yihqMEbWTDABo6AR1sb2oqKGmXzWdcHb3Pl2Oyrc7A4bHpbh2+3eCSt1u56pOfA+3D GARmE5RAViCkeS2UcEf0Qkc+/cCwwF2vEP2ByfJuE/kebVwTpbFYSmaIHbAjbcon4ddel/27wkp wB/BfrWW9xdTxMGFFXPWxE82T8ZpMed+OWg+8YOUn1qfQ6TByeOu8NnwOh1wBVzqjGDXmIZhEuO qgkm3/1uSW68VCdRGSiWLhmiI4dP+5bqUkQKW6WzEVb/qxkUfiUHflxPUI1DgwLGkcJS03dbKnd vu1tnhrbVC2Cg5XgTtrJh17OAJPbKXwiCRle5gsZkzzdJQAGR6PTsZi8OLeowjf+Kt6YkLl0CfP GRz/A475iX+rqLWae/WY7WJgskOpPhxsEgoy4er7rweoAIK8o X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--3.449500-5.000000 X-TMASE-Version: SMEX-14.0.0.3152-9.1.2019-28338.007 X-TM-SNTS-SMTP: FB35398085D3A70FF157A405482304A9DBB4B22D964B743A04618B5488A378CF2000:F X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/cran.scm (r-detectseparation): New variable. Change-Id: I6c795719c22a6ff929785e799f749ce053e83fbe --- gnu/packages/cran.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 1fdd5eb685..57dabc8ec3 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -4253,6 +4253,38 @@ (define-public r-depmixs4 mixture models.") (license license:gpl2+))) +(define-public r-detectseparation + (package + (name "r-detectseparation") + (version "0.3") + (source + (origin + (method url-fetch) + (uri (cran-uri "detectseparation" version)) + (sha256 + (base32 "05z3p1z5mhmdj5qdknz1b8f6fwbghzckl88pv79v59cfwpbvgmz8")))) + (properties `((upstream-name . "detectseparation"))) + (build-system r-build-system) + (propagated-inputs (list r-lpsolveapi r-pkgload r-roi r-roi-plugin-lpsolve)) + (native-inputs (list r-knitr)) + (home-page "https://github.com/ikosmidis/detectseparation") + (synopsis + "Detect and check for separation and infinite maximum likelihood estimates") + (description + "This package provides pre-fit and post-fit methods for detecting separation +and infinite maximum likelihood estimates in generalized linear models with +categorical responses. The pre-fit methods apply on binomial-response generalized +liner models such as logit, probit and cloglog regression, and can be directly +supplied as fitting methods to the @code{glm()} function. The post-fit methods +apply to models with categorical responses, including binomial-response +generalized linear models and multinomial-response models, such as baseline +category logits and adjacent category logits models; for example, the models +implemented in the brglm2 package. The post-fit methods successively refit the +model with increasing number of iteratively reweighted least squares iterations, +and monitor the ratio of the estimated standard error for each parameter to what +it has been in the first iteration.") + (license license:gpl3))) + (define-public r-readxl (package (name "r-readxl")