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 22 Dec. 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

Rfast2  
A Collection of Efficient and Extremely Fast R Functions II
A collection of fast statistical and utility functions for data analysis. Functions for regression, ...
Download / Learn more Package Citations See dependency  
LOGANTree  
Tree-Based Models for the Analysis of Log Files from Computer-Based Assessments
Enables researchers to model log-file data from computer-based assessments using machine-learning te ...
Download / Learn more Package Citations See dependency  
Maintainer: Qi Qin (view profile)
tropAlgebra  
Tropical Algebraic Functions
It includes functions like tropical addition, tropical multiplication for vectors and matrices. In t ...
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  
wordspace  
Distributional Semantic Models in R
An interactive laboratory for research on distributional semantic models ('DSM', see < ...
Download / Learn more Package Citations See dependency  
elect  
Estimation of Life Expectancies Using Multi-State Models
Functions to compute state-specific and marginal life expectancies. The computation is based on a fi ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

201,798

Dependencies

63,416

Author Associations

23,395

Publication Badges

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