CRAN/E | tmvmixnorm

tmvmixnorm

Sampling from Truncated Multivariate Normal and t Distributions

Installation

About

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

Key Metrics

Version 1.1.1
R ≥ 3.2.0
Published 2020-09-18 1321 days ago
Needs compilation? no
License GPL-2
CRAN checks tmvmixnorm results

Downloads

Yesterday 8 -33%
Last 7 days 77 +15%
Last 30 days 222 +17%
Last 90 days 573 -34%
Last 365 days 2.723 -23%

Maintainer

Maintainer

Ting Fung (Ralph) Ma

tingfung.ma@wisc.edu

Authors

Ting Fung

(Ralph)

Ma

cre / aut

Sujit K. Ghosh

aut

Yifang Li

aut

Material

Reference manual
Package source

In Views

Distributions

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

tmvmixnorm archive

Depends

R ≥ 3.2.0

Imports

stats
MASS

Reverse Imports

clordr
condTruncMVN
miWQS

Reverse Suggests

tmvtnsim