Skip to main content
. 2022 Sep 5;25(1):188–202. doi: 10.1093/biostatistics/kxac035

Fig. 4.

Fig. 4

Graphical representation of two HPE algorithms to estimate Inline graphic. We simulate observations from two Gaussian distributions, namely Inline graphic and Inline graphic and calculate the quantiles Inline graphic and Inline graphic for each of the sets with (a) Inline graphic, (b) Inline graphic, and (c) Inline graphic. The white curve represents the percent of elements in Inline graphic that are strictly less than each element in Inline graphic. The goal is to estimate the true Inline graphic (area under the white curve) using one of two HPE algorithms. The brute force approach (HPE algorithm 1) uses Riemann integration to approximate the white curve by summing the area of the blue squares below the curve. The grid search approach (HPE algorithm 2) starts at the minimum of Inline graphic and Inline graphic and moves along the red–blue border to approximate the white curve (path followed represents the squares with the light blue borders). The HPE contour Inline graphic (or estimate of Inline graphic) Inline graphic is given by yellow-bordered squares. In other words, every pair Inline graphic such that Inline graphic, the interval guaranteed to contain Inline graphic. The intersection of this yellow contour (Inline graphic) and blue contour (grids visited by HPE algorithm 2) are the green-bordered squares, which represents the numerical estimate for Inline graphic and Inline graphic.