[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/89: gnu: Add r-tmvnsim.
From: |
guix-commits |
Subject: |
14/89: gnu: Add r-tmvnsim. |
Date: |
Thu, 11 Jun 2020 11:04:09 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 5c6e70346efc6a581a4acbec16d0b228d1bddb82
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Jun 11 14:33:01 2020 +0200
gnu: Add r-tmvnsim.
* gnu/packages/statistics.scm (r-tmvnsim): New variable.
---
gnu/packages/statistics.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 30a0d44..2a878a4 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -5289,6 +5289,35 @@ computations taking place in C++ code, and support for
interrupting those comput
even in multithreaded code, typically using OpenMP.")
(license license:gpl3+)))
+(define-public r-tmvnsim
+ (package
+ (name "r-tmvnsim")
+ (version "1.0-2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "tmvnsim" version))
+ (sha256
+ (base32
+ "03xsvsg9bqvgl98ywid3h91mmlhax5s6wvmypp3hq91vmc5kvxlp"))))
+ (properties `((upstream-name . "tmvnsim")))
+ (build-system r-build-system)
+ (native-inputs `(("gfortran" ,gfortran)))
+ (home-page "https://www.r-project.org")
+ (synopsis "Truncated multivariate normal simulation")
+ (description
+ "This package implements importance sampling from the truncated
+multivariate normal using the @dfn{Geweke-Hajivassiliou-Keane} (GHK)
+simulator. Unlike Gibbs sampling which can get stuck in one truncation
+sub-region depending on initial values, this package allows truncation based
+on disjoint regions that are created by truncation of absolute values. The
+GHK algorithm uses simple Cholesky transformation followed by recursive
+simulation of univariate truncated normals hence there are also no convergence
+issues. Importance sample is returned along with sampling weights, based on
+which, one can calculate integrals over truncated regions for multivariate
+normals.")
+ (license license:gpl2)))
+
(define-public r-mnormt
(package
(name "r-mnormt")
- branch master updated (82b9ed4 -> cbd9581), guix-commits, 2020/06/11
- 02/89: gnu: r-nlme: Update to 3.1-148., guix-commits, 2020/06/11
- 06/89: gnu: r-backports: Update to 1.1.7., guix-commits, 2020/06/11
- 01/89: gnu: r-foreign: Update to 0.8-80., guix-commits, 2020/06/11
- 03/89: gnu: r-ggplot2: Update to 3.3.1., guix-commits, 2020/06/11
- 04/89: gnu: r-dplyr: Update to 1.0.0., guix-commits, 2020/06/11
- 05/89: gnu: r-dbplyr: Update to 1.4.4., guix-commits, 2020/06/11
- 10/89: gnu: r-mvtnorm: Update to 1.1-1., guix-commits, 2020/06/11
- 08/89: gnu: r-rmarkdown: Update to 2.2., guix-commits, 2020/06/11
- 14/89: gnu: Add r-tmvnsim.,
guix-commits <=
- 22/89: gnu: r-servr: Update to 0.17., guix-commits, 2020/06/11
- 12/89: gnu: r-cardata: Update to 3.0-4., guix-commits, 2020/06/11
- 17/89: gnu: r-lubridate: Update to 1.7.9., guix-commits, 2020/06/11
- 07/89: gnu: r-rcpparmadillo: Update to 0.9.900.1.0., guix-commits, 2020/06/11
- 18/89: gnu: r-ggpmisc: Update to 0.3.5., guix-commits, 2020/06/11
- 15/89: gnu: r-mnormt: Update to 2.0.0., guix-commits, 2020/06/11
- 16/89: gnu: r-sn: Update to 1.6-2., guix-commits, 2020/06/11
- 11/89: gnu: r-tidyr: Update to 1.1.0., guix-commits, 2020/06/11
- 30/89: gnu: r-ggally: Update to 2.0.0., guix-commits, 2020/06/11
- 27/89: gnu: r-pkgload: Update to 1.1.0., guix-commits, 2020/06/11