Learn R Programming

tmvtnorm

tmvtnorm: A package for the Truncated Multivariate Normal Distribution

This package contains a number of useful methods for the truncated multivariate normal distribution. It considers random number generation with rejection and Gibbs sampling, computation of marginal densities as well as computation of the mean and covariance of the truncated variables.

For a more detailed introduction, see this RJournal (2010) paper tmvtnorm: A Package for the Truncated Multivariate Normal Distribution.

Copy Link

Version

Install

install.packages('tmvtnorm')

Monthly Downloads

5,558

Version

1.6

License

GPL (>= 2)

Maintainer

Stefan Wilhelm

Last Published

December 5th, 2023

Functions in tmvtnorm (1.6)

dtmvt

Truncated Multivariate Student t Density
rtmvnorm

Sampling Random Numbers From The Truncated Multivariate Normal Distribution
gmm.tmvnorm

GMM Estimation for the Truncated Multivariate Normal Distribution
tmvnorm

Truncated Multivariate Normal Density
rtmvt

Sampling Random Numbers From The Truncated Multivariate Student t Distribution
dtmvnorm.marginal2

Bivariate marginal density functions from a Truncated Multivariate Normal distribution
rtmvnorm2

Sampling Random Numbers From The Truncated Multivariate Normal Distribution With Linear Constraints
ptmvt

Truncated Multivariate Student t Distribution
mle.tmvnorm

Maximum Likelihood Estimation for the Truncated Multivariate Normal Distribution
mtmvnorm

Computation of Mean Vector and Covariance Matrix For Truncated Multivariate Normal Distribution
ptmvtnorm.marginal

One-dimensional marginal CDF function for a Truncated Multivariate Normal and Student t distribution
dtmvnorm.marginal

One-dimensional marginal density functions from a Truncated Multivariate Normal distribution
qtmvnorm-marginal

Quantiles of the Truncated Multivariate Normal Distribution in one dimension
ptmvnorm

Truncated Multivariate Normal Distribution