norm_acc {tmvmixnorm}R Documentation

Acceptance rate of normal rejection sampling

Description

norm_acc calculates the acceptance rate of normal rejection sampling for the truncation interval (a,b).

Usage

norm_acc(a, b)

Arguments

a

lower bound for truncation.

b

upper bound for truncation.

Examples

set.seed(1203)
norm_acc(1,2)


[Package tmvmixnorm version 1.1.1 Index]