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 21 Nov. 2024.
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

deductive  
Data Correction and Imputation Using Deductive Methods
Attempt to repair inconsistencies and missing values in data records by using information from vali ...
Download / Learn more Package Citations See dependency  
pkgdepends  
Package Dependency Resolution and Downloads
Find recursive dependencies of 'R' packages from various sources. Solve the dependencies to obtain ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
SCBiclust  
Identifies Mean, Variance, and Hierarchically Clustered Biclusters
Identifies a bicluster, a submatrix of the data such that the features and observations within the s ...
Download / Learn more Package Citations See dependency  
crossrun  
Joint Distribution of Number of Crossings and Longest Run
Joint distribution of number of crossings and the longest run in a series of independent Bernoulli ...
Download / Learn more Package Citations See dependency  
kgschart  
KGS Rank Graph Parser
Restore underlining numeric data from rating history graph of KGS (an online platform of the game o ...
Download / Learn more Package Citations See dependency  

23,229

R Packages

199,929

Dependencies

62,984

Author Associations

23,230

Publication Badges

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