Other packages > Find by keyword >

tmvnsim  

Truncated Multivariate Normal Simulation
View on CRAN: Click here


Download and install tmvnsim package within the R console
Install from CRAN:
install.packages("tmvnsim")

Install from Github:
library("remotes")
install_github("cran/tmvnsim")

Install by package version:
library("remotes")
install_version("tmvnsim", "1.0-2")



Attach the package and use:
library("tmvnsim")
Maintained by
Samsiddhi Bhattacharjee
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2015-08-19
Latest Update: 2016-12-15
Description:
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.
How to cite:
Samsiddhi Bhattacharjee (2015). tmvnsim: Truncated Multivariate Normal Simulation. R package version 1.0-2, https://cran.r-project.org/web/packages/tmvnsim. Accessed 28 Oct. 2026.
Previous versions and publish date:
(2026-07-09 07:14), 1.0-0 (2015-08-19 20:35), 1.0-1 (2015-09-17 14:49)
Other packages that cited tmvnsim R package
View tmvnsim citation profile
Other R packages that tmvnsim depends, imports, suggests or enhances
Complete documentation for tmvnsim
Functions, R codes and Examples using the tmvnsim R package
Some associated functions: tmvnsim . 
Some associated R codes: truncsimf.R .  Full tmvnsim package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

NPHazardRate  
Nonparametric Hazard Rate Estimation
Provides functions and examples for histogram, kernel (classical, variable bandwidth and transformat ...
Download / Learn more Package Citations See dependency  
ncdf4  
Interface to Unidata netCDF (Version 4 or Earlier) Format Data Files
Provides a high-level R interface to data files written using Unidata's netCDF library (version 4 or ...
Download / Learn more Package Citations See dependency  
cats  
Cohort Platform Trial Simulation
Cohort plAtform Trial Simulation whereby every cohort consists of two arms, control and experimenta ...
Download / Learn more Package Citations See dependency  
msamp  
Estimate Sample Size to Detect Bacterial Contamination in a Product Lot
Estimates the sample size needed to detect microbial contamination in a lot with a user-specified d ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA