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]
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 29 Mar. 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
02/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/28Downloads for tmvmixnorm246810121416TrendBars

Today's Hot Picks in Authors and Packages

quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
landmix  
Landmark Prediction for Mixture Data
Non-parametric prediction of survival outcomes for mixture data that incorporates covariates and a l ...
Download / Learn more Package Citations See dependency  
gglgbtq  
Show Pride on 'ggplot2' Plots
Provides multiple palettes based on pride flags with tailored themes. ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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