Area-Based Epigraph Index (ABEI)
- Area-Based Epigraph Index (ABEI) is an integrated measure that quantifies the cumulative vertical excess of sample curves above a reference, capturing both magnitude and duration of deviations.
- It replaces proportion-based logic with an area integration approach, thereby enhancing sensitivity to subtle shape and magnitude outliers in functional data.
- ABEI is a core component of the EHyOut methodology, producing a six-dimensional feature vector for robust multivariate outlier detection through comparisons on curves and their derivatives.
The Area-Based Epigraph Index (ABEI) is an area-based extremality functional that quantifies, for a given curve, the accumulated positive vertical distance by which other sample curves lie above it over a compact domain . Introduced together with the Area-Based Hypograph Index (ABHI) for functional outlier detection, ABEI replaces the proportion-of-domain logic of earlier epigraph/hypograph indices with integrated distance, thereby making the resulting representation sensitive to both magnitude and shape deviations (Pulido et al., 8 Jul 2025). In the associated EHyOut methodology, ABEI and ABHI are computed for each curve and for its first and second derivatives, producing a six-dimensional feature representation to which robust multivariate outlier detection is applied (Pulido et al., 8 Jul 2025).
1. Conceptual setting and relation to earlier epigraph/hypograph indices
The underlying setting is standard functional data analysis on a compact interval with Lebesgue measure , where curves are real-valued functions and a random curve is a stochastic process with distribution (Pulido et al., 8 Jul 2025). For a function , the epigraph and hypograph are
These sets induce top-to-bottom orderings by asking whether competing curves lie above or below a reference curve.
The population epigraph and hypograph indices average pointwise above/below probabilities over the domain:
Their sample analogues, the Modified Epigraph Index and Modified Hypograph Index, are
0
1
These quantities lie in 2, rank curves by how often they are above or below the sample, and satisfy a sign-flip relation,
3
A central motivation for ABEI is the limited sensitivity of MEI and MHI to magnitude outliers. If a competitor is a constant vertical shift of the reference, 4 with 5, then the set 6 has full measure regardless of whether 7 or 8. MEI and MHI therefore record the prevalence of being above or below, but not the size of the displacement. This saturation is the specific limitation that the area-based indices were designed to overcome (Pulido et al., 8 Jul 2025).
2. Formal definition of ABEI and ABHI
For a sample 9 and a curve 0, the Area-Based Epigraph Index and Area-Based Hypograph Index are defined as
1
where 2 (Pulido et al., 8 Jul 2025). The construction is pairwise and sample-aggregated: each comparison is made against every curve in the sample, and no single central template is introduced.
The positive-part integrand imposes a directional decomposition. For ABEI, only those portions of the domain where a competing curve lies above the reference contribute to the integral; for ABHI, only the complementary below contributions are counted. The indices are not normalized by 3, 4, or amplitude range. Consequently, they are nonnegative and unbounded above, with units of amplitude times domain units. If the domain is time, the units are value-times-time (Pulido et al., 8 Jul 2025).
A simple example illustrates the distinction from MEI. On 5, let 6 and 7, and evaluate the indices for 8. Then
9
while
0
MEI would only record that 1 is above 2 everywhere; ABEI records the integrated offset itself (Pulido et al., 8 Jul 2025).
3. Mathematical properties and statistical interpretation
ABEI and ABHI admit a number of basic structural properties. First, they are complementary in the sense that
3
Thus their sum is the total aggregated 4 discrepancy between the target curve and the sample, while their separate values preserve directional information about whether discrepancies are predominantly above or below (Pulido et al., 8 Jul 2025).
Second, the indices satisfy a sign-flip identity,
5
Unlike MEI and MHI, ABEI and ABHI do not exhibit the sample-level linear dependence that constrains joint use of the modified indices. This makes the pair naturally usable as a bivariate feature representation (Pulido et al., 8 Jul 2025).
Third, the indices have clear invariance and monotonicity behavior. If all curves, including the reference, are shifted by the same constant 6, ABEI and ABHI are unchanged because only pairwise differences matter. Under common positive scaling by 7, both indices scale by 8 and are therefore not scale-invariant. Under nonlinear reparameterization 9, the area element 0 changes, so the indices are generally not invariant to time warping. They are also monotone with respect to the pointwise order: if 1 for all 2, then 3 and 4 (Pulido et al., 8 Jul 2025).
These properties explain the dual sensitivity that motivated the method. Magnitude outliers generate large vertical offsets and therefore large integrated areas. Shape outliers, including localized bumps, spikes, or phase-induced discrepancies, contribute only on the subregions where the sign-constrained difference is positive, so their influence is spatially localized but still measurable. A plausible implication is that ABEI and ABHI interpolate between rank-based ordering and geometric discrepancy: they retain the directional logic of epigraph/hypograph comparisons while moving from set measure to signed area accumulation.
4. The EHyOut methodology
EHyOut reformulates functional outlier detection as a low-dimensional robust multivariate detection problem. The workflow begins with functional representation: each observed curve 5 on a grid 6 is represented through cubic spline interpolation, producing a twice-differentiable spline 7 together with its first and second derivatives 8 and 9 (Pulido et al., 8 Jul 2025).
For each curve, ABEI and ABHI are then computed on the original function and on the first two derivatives:
0
1
2
The resulting feature vector is
3
Numerical integration is approximated by quadrature on the observation grid, and a trapezoidal rule is explicitly described:
4
Outlier detection on the six-dimensional features is performed with the Comedian method. Robust location is the componentwise median,
5
and robust marginal scale is estimated via MAD,
6
Pairwise robust scatter is based on comedian covariance, and robust Mahalanobis distances are computed as
7
A curve is flagged as an outlier when
8
The computational bottleneck is the feature construction rather than the robust multivariate step. Computing ABEI and ABHI for all curves on a grid of size 9 requires 0 operations, and inclusion of first and second derivatives multiplies runtime by approximately three (Pulido et al., 8 Jul 2025). The paper reports that vectorization and reuse of precomputed differences make this practical for sample sizes up to several hundreds. Implementations are available in the R package ehymet and in the authors’ GitHub repository ehyout (Pulido et al., 8 Jul 2025).
5. Empirical performance in simulation and case studies
The empirical study benchmarked EHyOut against FASTMUOD, OG (Outliergram), MSPLOT, TVD, MBD, MDS5LOF, and BP-PWD on 19 heterogeneous data-generating processes with 1 and contamination levels 2, covering magnitude, shape, and mixed outliers (Pulido et al., 8 Jul 2025). Evaluation used Matthews Correlation Coefficient (MCC), Area Under the ROC Curve (AUC) when a single score was available, and Execution Time (ET, in seconds).
At 3, the aggregated summary across all DGPs was as follows.
| Method | Mean ET (s) | Mean MCC |
|---|---|---|
| EHyOut | 0.008 | 0.806 |
| TVD | 0.012 | 0.668 |
| MSPLOT | 0.054 | 0.633 |
| OG | 2.578 | 0.594 |
| BP-PWD | 0.027 | 0.535 |
| FASTMUOD | 0.041 | 0.516 |
| MDS5LOF | 0.047 | 0.365 |
| MBD | 0.005 | 0.304 |
The quartile summary reported for EHyOut was MCC 4 and 5; for TVD, 6 and 7, indicating higher variability despite being second best in mean MCC (Pulido et al., 8 Jul 2025). EHyOut was the second fastest method in mean execution time and the only method to achieve median MCC greater than 8 on all 19 scenarios. The paper also reports near-1 AUC in many settings where AUC was defined.
Two real-data applications illustrate the method’s interpretive use. In Spanish weather data from AEMET, involving 73 stations over 1980–2009, EHyOut flagged 11 temperature outliers and 9 precipitation outliers, with 7 stations identified in both variables: Fuerteventura, Lanzarote, Las Palmas (Gando), Hierro, Tenerife Sur, Sta. Cruz de Tenerife, and Izaña. Navacerrada appeared as a temperature outlier, while Logroño, Valencia, Madrid (Torrejón), and Colmenar Viejo were among the precipitation outliers (Pulido et al., 8 Jul 2025). The reported interpretation is meteorological: the Canary Islands exhibit distinct climatology, and the flagged peninsular stations show extreme precipitation behavior.
In the United Nations world population data for 1950–2010, filtered to 105 countries with population in 9 in 1980, EHyOut flagged 38 countries as outliers. The examples given include rapid-growth trajectories such as Saudi Arabia, Iraq, Afghanistan, Malaysia, Uganda, and Sudan; moderate or stable Eastern European countries such as Hungary and the Czech Republic; and consistently high trends such as Chile, Australia, Cuba, the Netherlands, Greece, and Portugal (Pulido et al., 8 Jul 2025). The classification is described as consistent with prior analyses while highlighting both high-growth and consistently high trajectories.
6. Scope, limitations, and relation to adjacent literature
The method’s practical defaults are explicit. The empirical study selected ABEI and ABHI on the original curves and on the first and second derivatives as the feature set, and selected the Comedian method with a boxplot-type cutoff because it had superior mean AUC and small dispersion relative to FASTMCD, OGK, and RMDsh (Pulido et al., 8 Jul 2025). For smooth functional inputs, cubic spline interpolation yields a 0 representation; in noise-heavy settings, smoothing splines with smoothing parameter chosen by cross-validation or generalized cross-validation are recommended. Trapezoidal integration on a sufficiently dense grid, with 1–2, is reported as adequate.
The limitations are equally specific. The feature construction itself is not robust to extreme contamination, since severe outliers increase pairwise areas. Robustness enters through the subsequent median/MAD/comedian stage, which has a high breakdown point in the sense described in the paper. Derivatives can amplify noise, strong phase variability may warrant alignment if phase is considered nuisance, and the 3 pairwise cost recommends vectorization and parallelization for very large 4 (Pulido et al., 8 Jul 2025).
A notable issue in the literature is terminology. In work on clustering multivariate functional data, the generalized modified epigraph and hypograph indices based on normalized Lebesgue measure over time have been described as “area-based” because they integrate the proportion of the domain over which all components satisfy the ordering relation (Pulido et al., 2023). In that setting, the objects denoted MEI and MHI are scale-free, invariant to one-to-one transformations 5, and preserve interdependencies through joint componentwise orderings. By contrast, the 2025 ABEI and ABHI are unnormalized integrated positive distances between curves, measured in physical area units and generally not invariant to time warping (Pulido et al., 8 Jul 2025, Pulido et al., 2023). This suggests that “area-based” has been used in two distinct senses in the epigraph/hypograph literature: proportion-of-domain area in generalized MEI/MHI, and area-between-curves in ABEI/ABHI proper.
That distinction also clarifies a common misconception. ABEI is not merely a renaming of MEI. MEI records how often one curve is above another; ABEI records by how much and for how long, through signed area accumulation. In functional outlier detection, this difference is the mechanism by which magnitude sensitivity is restored while shape information is retained (Pulido et al., 8 Jul 2025).