guix-commits
[Top][All Lists]
Advanced

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

22/23: gnu: Add r-zim.


From: guix-commits
Subject: 22/23: gnu: Add r-zim.
Date: Tue, 12 Mar 2019 17:48:08 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 5570804a69f6cf8a69f6da24411c99b129130893
Author: Ricardo Wurmus <address@hidden>
Date:   Tue Mar 12 22:27:29 2019 +0100

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0c789dd..b41e456 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -11288,3 +11288,31 @@ are linear, logistic and Poisson regression and the 
Cox Proportional Hazards
 model.  Cross-validation routines allow optimization of the tuning
 parameters.")
     (license license:gpl2+)))
+
+(define-public r-zim
+  (package
+    (name "r-zim")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "ZIM" version))
+       (sha256
+        (base32
+         "0scyfjn4ilsvha3x41c3b8bcfi31hlhwm77wn2a8hj5dsvnnmzig"))))
+    (properties `((upstream-name . "ZIM")))
+    (build-system r-build-system)
+    (propagated-inputs `(("r-mass" ,r-mass)))
+    (home-page "https://github.com/biostatstudio/ZIM";)
+    (synopsis "Zero-inflated models (ZIM) for count time series with excess 
zeros")
+    (description
+     "Analyze count time series with excess zeros.  Two types of statistical
+models are supported: Markov regression and state-space models.  They are also
+known as observation-driven and parameter-driven models respectively in the
+time series literature.  The functions used for Markov regression or
+observation-driven models can also be used to fit ordinary regression models
+with independent data under the zero-inflated Poisson (ZIP) or zero-inflated
+negative binomial (ZINB) assumption.  The package also contains miscellaneous
+functions to compute density, distribution, quantile, and generate random
+numbers from ZIP and ZINB distributions.")
+    (license license:gpl3)))



reply via email to

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