guix-patches
[Top][All Lists]
Advanced

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

[bug#44033] [PATCH 2/3] gnu: Add r-locpol.


From: Aniket Patil
Subject: [bug#44033] [PATCH 2/3] gnu: Add r-locpol.
Date: Fri, 16 Oct 2020 18:43:37 +0530

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

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 0370cdd993..1529849211 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -24619,3 +24619,22 @@ absolute GSEA.")
       "This package contains a collection of functions to deal with 
nonparametric measurement error problems using deconvolution kernel methods.  
We focus two measurement error models in the package: (1) an additive 
measurement error model, where the goal is to estimate the density or 
distribution function from contaminated data; (2) nonparametric regression 
model with errors-in-variables.  The R functions allow the measurement errors 
to be either homoscedastic or heteroscedastic.  To make the deconvolution 
estimators computationally more efficient in R, we adapt the \"Fast Fourier 
Transform\" (FFT) algorithm for density estimation with error-free data to the 
deconvolution kernel estimation.  Several methods for the selection of the 
data-driven smoothing parameter are also provided in the package.  See details 
in: Wang, X.F.  and Wang, B. (2011).  Deconvolution estimation in measurement 
error models: The R package decon.  Journal of Statistical Software, 39(10), 
1-24.")
     (license license:gpl3+)))
 
+(define-public r-locpol
+  (package
+    (name "r-locpol")
+    (version "0.7-0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (cran-uri "locpol" version))
+        (sha256
+          (base32
+            "1p915n0l09kbwkly627074jslxl01yssp1rf0c7sygvsw6sgy5lm"))))
+    (properties `((upstream-name . "locpol")))
+    (build-system r-build-system)
+    (home-page
+      "https://cran.r-project.org/web/packages/locpol";)
+    (synopsis "Kernel Local Polynomial Regression")
+    (description
+      "Computes local polynomial estimators for the regression and also 
density.  It comprises several different utilities to handle kernel 
estimators.")
+    (license license:gpl2+)))
-- 
2.28.0






reply via email to

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