exp_rej: TUVN exponential rejection sampling

Description Usage Arguments Value References

View source: R/RcppExports.R

Description

TUVN exponential rejection sampling

Usage

1
exp_rej(a, b)

Arguments

a

Lower bound of truncation

b

Upper bound of truncation

Value

value of the sample

References

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.


suchitm/tmvn documentation built on Dec. 10, 2020, 10:25 a.m.