sample_case2_r: Sample Case 2

Description Usage Arguments Value References

View source: R/samp_cases.R

Description

generate a sample from case 2 where the bounds are 0 \in [a, b]. The cases are listed on page 4 of Li & Ghosh (2015).

Usage

1

Arguments

a

Lower bound of truncation

b

Upper bound of truncattion

Value

x

value of the sample

acc

number of proposals for acceptance

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.