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
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
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

mistral  
Methods in Structural Reliability
Various reliability analysis methods for rare event inference (computing failure probability and qua ...
Download / Learn more Package Citations See dependency  
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  
rdbnomics  
Download DBnomics Data
R access to hundreds of millions data series from DBnomics API (). ...
Download / Learn more Package Citations See dependency  
steepness  
Testing Steepness of Dominance Hierarchies
The steepness package computes steepness as a property of dominance hierarchies. Steepness is define ...
Download / Learn more Package Citations See dependency  
critpath  
Setting the Critical Path in Project Management
Solving the problem of project management using CPM (Critical Path Method), PERT (Program Evaluation ...
Download / Learn more Package Citations See dependency  
ftaproxim  
Fault Tree Analysis Based on Proxel Simulation
Calculation and plotting of instantaneous unavailabilities of basic events along with the top event ...
Download / Learn more Package Citations See dependency  

22,114

R Packages

188,080

Dependencies

55,244

Author Associations

22,115

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net. Contact Us / Suggestions / Concerns