tmvnsim: Truncated Multivariate Normal Simulation

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.

Version: 1.0-2
Published: 2016-12-15
DOI: 10.32614/CRAN.package.tmvnsim
Author: Samsiddhi Bhattacjarjee
Maintainer: Samsiddhi Bhattacharjee <sb1 at>
License: GPL-2
NeedsCompilation: yes
CRAN checks: tmvnsim results


Reference manual: tmvnsim.pdf


Package source: tmvnsim_1.0-2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): tmvnsim_1.0-2.tgz, r-oldrel (arm64): tmvnsim_1.0-2.tgz, r-release (x86_64): tmvnsim_1.0-2.tgz, r-oldrel (x86_64): tmvnsim_1.0-2.tgz
Old sources: tmvnsim archive

Reverse dependencies:

Reverse imports: blavaan
Reverse suggests: lavaanExtra


Please use the canonical form to link to this page.