Other packages > Find by keyword >

tmvmixnorm  

Sampling from Truncated Multivariate Normal and t Distributions
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("tmvmixnorm", "1.1.1")



Attach the package and use:
library("tmvmixnorm")
Maintained by
Ting Fung (Ralph) Ma
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-07-18
Latest Update: 2020-09-18
Description:
Efficient sampling of truncated multivariate (scale) mixtures of normals under linear inequality constraints is nontrivial due to the analytically intractable normalizing constant. Meanwhile, traditional methods may subject to numerical issues, especially when the dimension is high and dependence is strong.Algorithms proposed by Li and Ghosh (2015) <doi:10.1080/15598608.2014.996690> are adopted for overcoming difficulties in simulating truncated distributions. Efficient rejection sampling for simulating truncated univariate normal distribution is included in the package, which shows superiority in terms of acceptance rate and numerical stability compared to existing methods and R packages. An efficient function for sampling from truncated multivariate normal distribution subject to convex polytope restriction regions based on Gibbs sampler for conditional truncated univariate distribution is provided. By extending the sampling method, a function for sampling truncated multivariate Student's t distribution is also developed. Moreover, the proposed method and computation remain valid for high dimensional and strong dependence scenarios. Empirical results in Li and Ghosh (2015) <doi:10.1080/15598608.2014.996690> illustrated the superior performance in terms of various criteria (e.g. mixing and integrated auto-correlation time).
How to cite:
Ting Fung (Ralph) Ma (2018). tmvmixnorm: Sampling from Truncated Multivariate Normal and t Distributions. R package version 1.1.1, https://cran.r-project.org/web/packages/tmvmixnorm. Accessed 18 Feb. 2025.
Previous versions and publish date:
1.0.1 (2018-07-18 13:30), 1.0.2 (2018-07-19 19:30), 1.1.0 (2020-05-19 08:50)
Other packages that cited tmvmixnorm R package
View tmvmixnorm citation profile
Other R packages that tmvmixnorm depends, imports, suggests or enhances
Complete documentation for tmvmixnorm
Functions, R codes and Examples using the tmvmixnorm R package
Some associated functions: dtuvn . exp_acc_opt . exp_rej . halfnorm_acc . halfnorm_rej . imp . imp_acc . norm_acc . norm_rej . ptuvn . rtmvn . rtmvt . rtuvn . unif_acc . unif_rej . 
Some associated R codes: dtuvn.R . exp_acc.R . exp_rejection.R . halfnorm_acc.R . halfnorm_rejction.R . imp.R . imp_acc.R . normal_acc.R . normal_rejection.R . ptuvn.R . rtmvn.R . rtmvt.R . rtuvn.R . unif_acc.R . unif_rejection.R .  Full tmvmixnorm package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

RobustBayesianCopas  
Robust Bayesian Copas Selection Model
Fits the robust Bayesian Copas (RBC) selection model of Bai et al. (2020) for cor ...
Download / Learn more Package Citations See dependency  
ppmf  
Read Census Privacy Protected Microdata Files
Implements data processing described in to align modern differentially ...
Download / Learn more Package Citations See dependency  
fclust  
Fuzzy Clustering
Algorithms for fuzzy clustering, cluster validity indices and plots for cluster validity and visuali ...
Download / Learn more Package Citations See dependency  
OptGS  
Near-Optimal Group-Sequential Designs for Continuous Outcomes
Optimal group-sequential designs minimise some function of the expected and maximum sample size whil ...
Download / Learn more Package Citations See dependency  
MOSS  
Multi-Omic Integration via Sparse Singular Value Decomposition
High dimensionality, noise and heterogeneity among samples and features challenge the omic integrat ...
Download / Learn more Package Citations See dependency  
readxlsb  
Read 'Excel' Binary (.xlsb) Workbooks
Import data from 'Excel' binary (.xlsb) workbooks into R. ...
Download / Learn more Package Citations See dependency  

23,712

R Packages

205,795

Dependencies

64,332

Author Associations

23,631

Publication Badges

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