Skip to contents

Calculate whether ha,b > pa,b

Usage

calculate_probability_difference(h, p, a, b)

Arguments

h

density of a distribution

p

density of the reference distribution

a

start index to subset density

b

end index to subset density

Value

logical, if ha,b > pa,b