aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/statistics.scm
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2021-11-19 09:33:59 +0100
committerLars-Dominik Braun <lars@6xq.net>2021-11-19 10:05:08 +0100
commit3199b96b2eaf73c627491f7ad29efee1481a4398 (patch)
treeb86ecf7353fe663b798cb47572d5456e66d94b7b /gnu/packages/statistics.scm
parent6750e5a6e09255490b13d65a7274c0aff304e55d (diff)
downloadguix-3199b96b2eaf73c627491f7ad29efee1481a4398.tar.gz
guix-3199b96b2eaf73c627491f7ad29efee1481a4398.zip
gnu: Add r-gld.
* gnu/packages/statistics.scm (r-gld): New variable.
Diffstat (limited to 'gnu/packages/statistics.scm')
-rw-r--r--gnu/packages/statistics.scm33
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 2a534b92b7..d7ffa4355f 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -6721,3 +6721,36 @@ of L-moments and trimmed L-moments of distributions and data samples;
parameter estimation; L-moment ratio diagram; plot vs. quantiles of an
extreme-value distribution.")
(license license:cpl1.0)))
+
+(define-public r-gld
+ (package
+ (name "r-gld")
+ (version "2.6.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "gld" version))
+ (sha256
+ (base32 "1wrw7i5bq7rb2ahadm57y9fmr697r7lp9ln7ajcd592b0nn60n4i"))))
+ (properties `((upstream-name . "gld")))
+ (build-system r-build-system)
+ (propagated-inputs `(("r-e1071" ,r-e1071) ("r-lmom" ,r-lmom)))
+ (home-page
+ "https://cran.r-project.org/package=gld")
+ (synopsis
+ "Estimation and Use of the Generalised (Tukey) Lambda Distribution")
+ (description
+ "The generalised lambda distribution, or Tukey lambda distribution,
+provides a wide variety of shapes with one functional form. This package
+provides random numbers, quantiles, probabilities, densities and
+density quantiles for four different types of the distribution, the FKML
+(Freimer et al 1988), RS (Ramberg and Schmeiser 1974), GPD (van Staden
+and Loots 2009) and FM5 - see documentation for details. It provides the
+density function, distribution function, and Quantile-Quantile plots.
+It implements a variety of estimation methods for the distribution,
+including diagnostic plots. Estimation methods include the starship (all
+4 types), method of L-Moments for the GPD and FKML types, and a number
+of methods for only the FKML type. These include maximum likelihood,
+maximum product of spacings, Titterington's method, Moments, Trimmed
+L-Moments and Distributional Least Absolutes.")
+ (license license:gpl2+)))