I was looking at postDensityIntervals, there seems to be no algorithm for finding HPD for the case of a disjoint interval. HPD for a continuous interval seems to be already a complex numerical issue, because it requires one-dimensional optimisation. For the disjoint interval case it seems to be even harder. Do you know any solutions or workarounds?
I was looking at postDensityIntervals, there seems to be no algorithm for finding HPD for the case of a disjoint interval. HPD for a continuous interval seems to be already a complex numerical issue, because it requires one-dimensional optimisation. For the disjoint interval case it seems to be even harder. Do you know any solutions or workarounds?