aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRaoul Jean Pierre Bonnal <ilpuccio.febo@gmail.com>2017-03-11 15:03:07 +1000
committerBen Woodcroft <donttrustben@gmail.com>2017-03-12 10:28:06 +1000
commit49dc1fa5cb506ee2442d05488efea843a82aaaa5 (patch)
treebfe2b509ef541ff6e1f10f9b89719b721862a536 /gnu/packages
parent545d0789fc56059b9543bdb1a6d194eb1d0b40ed (diff)
downloadpatches-49dc1fa5cb506ee2442d05488efea843a82aaaa5.tar
patches-49dc1fa5cb506ee2442d05488efea843a82aaaa5.tar.gz
gnu: Add r-quantreg.
* gnu/packages/statistics.scm (r-quantreg): New variable. Signed-off-by: Ben Woodcroft <donttrustben@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/statistics.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 9f546f49bd..eefc7be8c6 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -4531,3 +4531,30 @@ metrics for evaluating models.")
"This package models with sparse and dense matrix matrices,
using modular prediction and response module classes.")
(license license:gpl2+)))
+
+(define-public r-quantreg
+ (package
+ (name "r-quantreg")
+ (version "5.29")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "quantreg" version))
+ (sha256
+ (base32
+ "098gy8xv9kcl5y0cm93b8chr5sm6crrdxi20bkx9lmwmybl3himv"))))
+ (build-system r-build-system)
+ (native-inputs
+ `(("gfortran" ,gfortran)))
+ (propagated-inputs
+ `(("r-matrixmodels" ,r-matrixmodels)
+ ("r-sparsem" ,r-sparsem)))
+ (home-page "http://www.r-project.org")
+ (synopsis "Quantile regression")
+ (description
+ "This package provides an estimation and inference methods for models
+of conditional quantiles: linear and nonlinear parametric and non-parametric
+models for conditional quantiles of a univariate response and several methods
+for handling censored survival data. Portfolio selection methods based on
+expected shortfall risk are also included.")
+ (license license:gpl2+)))