This repository houses the R
package tmvn
, which provides efficient methods
for sampling from a truncated multivariate normal and Student t distribution
subject to convex polytope restrictions. The method implemented in this package
leverages a rejection sampling method for the truncated univariate normal
distribution which has superior acceptance rates compared to popular existing methods.
devtools
package.tmvn
from GitHub using install_github("suchitm/tmvn")
Li, Y., & Ghosh, S. K. (2015). Efficient sampling methods for truncated multivariate normal and student-t distributions subject to linear inequality constraints. Journal of Statistical Theory and Practice, 9(4), 712-732.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.