[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / math / R-tmvnsim

File: [cvs.NetBSD.org] / pkgsrc / math / R-tmvnsim / Makefile (download)

Revision 1.1, Sat Sep 18 01:38:00 2021 UTC (9 months, 1 week ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, HEAD

(math/R-tmvnsim) import R-tmvnsim-1.0.2

Importance sampling from the truncated multivariate normal using the
GHK (Geweke-Hajivassiliou-Keane) 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.

# $NetBSD: Makefile,v 1.1 2021/09/18 01:38:00 mef Exp $

R_PKGNAME=	tmvnsim
R_PKGVER=	1.0-2

MAINTAINER=	pkgsrc-users@NetBSD.org
COMMENT=	Truncated Multivariate Normal Simulation
LICENSE=	gnu-gpl-v2

USE_LANGUAGES=	c fortran

.include "../../math/R/Makefile.extension"
.include "../../mk/bsd.pkg.mk"