Determines whether ha,b is a meaningful gap
Usage
meaningful_gap(h, p, a, b, N, L)
Arguments
- h
density of a distribution
- p
density of the reference distribution
- a
start index to subset density
- b
end index to subset density
- N
number of data points
- L
length of interval
Value
a vector of length 2: binary indicating whether
ha,b is a meaningful gap, relative entropy of the interval