Description Usage Arguments Value References
View source: R/sampling_methods.R
TUVN exponential rejection sampling
| 1 | 
| a | Lower bound of truncation | 
| b | Upper bound of truncation; default is infinity | 
| lambda | rate parameter for the exponential distribution. Optimal value is calculated by default. Refer to Lemma 2.1.1.2 in Li and Ghosh (2015). | 
| x | value of the sample | 
| acc | number of proposals for acceptance | 
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.