Path to this page:
./
math/R-tmvnsim,
Truncated Multivariate Normal Simulation
Branch: pkgsrc-2022Q3,
Version: 1.0.2,
Package name: R-tmvnsim-1.0.2,
Maintainer: pkgsrc-usersImportance 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.
Master sites: (Expand)
Version history: (Expand)
- (2022-09-26) Package added to pkgsrc.se, version R-tmvnsim-1.0.2 (created)