Outlier detection in functional time series represents a major statistical challenge due to temporal dependence and the coexistence of different types of anomalies, including magnitude, shape and partial outliers. Existing methods often assume independence between functional observations or rely on statistical models whose misspecification may compromise detection performance.
In this study, we propose a novel hybrid nonparametric framework that combines two complementary approaches without requiring the specification of an underlying stochastic model. First, we extend the Directional Outlyingness (DirOut) framework by recalibrating its detection thresholds using the Moving Block Bootstrap (MBBo), thereby accounting for temporal dependence. Second, we introduce a Sliding Window Outlier Detection (SWOD) method based on functional boxplots and functional depth measures, enabling the identification of local magnitude anomalies that may remain undetected when the temporal context is ignored.
Through an extensive Monte Carlo simulation study, we demonstrate the complementary strengths of both approaches. SWOD achieves detection rates ranging from approximately 84% to 100% for magnitude outliers, with false-positive rates of around 0.5%, when using Modified Band Depth. The bootstrap-calibrated DirOut approach achieves nearly perfect detection of shape and partial outliers while maintaining low false-positive rates.
We illustrate the practical applicability of the proposed methodology using daily temperature curves constructed from observations recorded at 10-minute intervals in Santiago de Compostela (Spain). Our approach identifies atypical thermal patterns overlooked by existing methods. The proposed framework, implemented in open-source R code, provides a flexible and reproducible tool for functional time series analysis, with potential applications in meteorological data quality control, environmental monitoring, climate research and heat–health warning systems.
Daily temperature curves in Santiago de Compostela (Spain): (a) outliers jointly identified by existing and proposed methods, and (b) additional outliers detected exclusively by the proposed methodology. The median curve is shown in black.
Source: Solano et al. (2026). Environmetrics, 37:e70099. https://doi.org/10.1002/env.70099. Licence: CC BY-NC-ND 4.0.