scieee AI-readable full text Open interactive document viewer

Robust clustering of functional directional data

Álvarez Esteban, Pedro César,García Escudero, Luis Ángel

Abstract

Producción Científica

Full text

Advances in Data Analysis and Classification (2022) 16:181–199 https://doi.org/10.1007/s11634-021-00482-3 REGULAR ARTICLE Robust clustering of functional directional data Pedro C. Álvarez-Esteban1 ·Luis A. García-Escudero1 Received: 14 December 2020 / Revised: 10 September 2021 / Accepted: 23 October 2021 / Published online: 9 December 2021 © The Author(s) 2021 Abstract A robust approach for clustering functional directional data is proposed. The proposal adapts “impartial trimming” techniques to this particular framework. Impartial trimming uses the dataset itself to tell us which appears to be the most outlying curves. A feasible algorithm is proposed for its practical implementation justified by some theoretical properties. A “warping” approach is also introduced which allows including controlled time warping in that robust clustering procedure to detect typical “templates”. The proposed methodology is illustrated in a real data analysis problem where it is applied to cluster aircraft trajectories. Keywords Cluster analysis ·Robustness ·Functional data analysis ·Directional data ·Warping Mathematics Subject Classification 62H30 ·62H11 ·62G35 1 Introduction Moderntechnologiesareincreasinglyallowingustomeasurephenomenacontinuously intime. Inthose cases,although thecurvesareoftendiscretized,datasetscanbeseenas madeofcurvesratherthanfinite-dimensionalmeasurements.FunctionalDataAnalysis (Ramsay and Silverman 2005; Ferraty and Vieu 2006) are the set of statistical tools specially developed to deal with this particular type of data. In particular, functional This work is part of a joint project (AIRPORTS) with Boeing Research and Technology Europe (BRT&E), and is funded by CDTI and MINECO (FEDER) Grant IDI-20150616, CIEN 2015. Authors are partly funded by MINECO (Grants MTM2017-86061-C2-1-P and MTM2017-86061-C2-2-P), and by Consejería de Educación de la JCyL and FEDER funds (Grants VA005P17 and VA002G18). BPedro C. Álvarez-Esteban [email protected] Luis A. García-Escudero [email protected]a.es 1Dpto. de Estadística e Investigación Operativa, IMUVA, Universidad de Valladolid, Paseo de Belén, 7, 47011 Valladolid, Spain 123 182 P. C. Álvarez-Esteban, L. A. García-Escudero Cluster Analysis is recently receiving considerable attention, as can be seen in recent review papers as Jacques and Preda (2014), Hitchcock and Greenwood (2015), and Yassouridis and Leisch (2017). In this work, we will focus on providing a functional clustering approach that can be applied to cluster functional directional data and where robustness also plays an important role. See Mardia and Jupp (2009) and Ley and Verdebout (2017)forsome general references on directional statistics. Itisknownthat(even)asmall fractionofcontaminatingdatacanbeverydetrimental inClusterAnalysis (García-Escudero andGordaliza1999).This justifies theinterestof applying robust clustering techniques that are able to resist certain amount of outlying observations (García-Escudero et al. 2010; Ritter 2015; García-Escudero et al. 2015). Moreover,theapplicationof robustclusteringtechniques may be also useful in order to detect anomalous features in our data, which can be very interesting once we are able to explain their anomalous behaviour. In this work, robustness is achieved by allowing to discard a proportion αof functional directional data throughout an “impartial” trimming procedure. The term impartial means that it is the data itself the one that tell us which are the most anomalous curves. This impartial trimming approach was introduced in Rousseeuw (1984), Gordaliza (1991) and Cuesta-Albertos et al. (1997). Impartial trimming has been already applied in Functional Cluster Analysis in García-Escudero and Gordaliza (2005), Cuesta-Albertos and Fraiman (2007) and, more recently, in Rivera-García et al. (2019). The approach adopted now in our work is more closely related with Cuesta-Albertos and Fraiman (2007) because we are not using projections into finite-dimensional functional subspaces. Theproposedmethodology willbeintroduced inSect.2togetherwith sometheoretical results for the proper characterization of the optimal solutions to the underlying problems. These theoretical results are latter applied in Sect. 3to derive a feasible algorithm for the practical application of the methodology. The proposed algorithm will be extended in Sect. 4to allow for “time warping” in the curves assigned to each cluster. Time warping is an appealing idea to address misalignment problems within clusters and to detect typical “templates” which are also useful to describe the detected clusters. Some guidelines about how to make sensible choices for the number of clusters k and for the trimming level αare given in Sect. 5. Section 6provides a simple simulation study to illustrate the ability of the proposed methodology to properly recover alignments in unaligned data, and simultaneously trim outlying curves. Finally, Sect. 7presents a real data application aimed at clustering aircraft trajectories that motivated our interest in clustering functional directional data. This real data example serves to illustrate all the material introduced in previous sections. Other applications for this methodology are surely possible. For instance, another direct application could be to cluster weather stations based on the observed evolution of local wind directions. Detecting anomalous weather stations, and explaining why they exhibit such strange behavior, can be an interesting task. 123 Robust clustering of functional directional data 183 2 Methodology We are going to use the extrinsic distance in the unit sphere S1such that, for every pair ω1and ω2in [0,2π](or, analogously, ω1and ω2in S1), we take d(ω1,ω 2)=1−cos(ω1−ω2)(1) to measure their distance. Given ω1,...,ω nin S1, the directional mean ωis defined as ω=arg min ω∈S1 n  i=1 d(ωi,ω). In this work, we are interested in clustering θ1,...,θn“directional functions” where each θibelongs to C([0,1],S1)as the set of continuous functions defined on [0,1]and taking values in S1when S1is equipped with extrinsic distance in (1). This means that we start from a sample θ1,...,θnin where every θisatisfies θi:[0,1]→S1 t→ θi(t), and θiis assumed to be a continuous function in S1. To simplify notation, we simply use the notation Ffor denoting C([0,1],S1). The extrinsic distance in S1can be extended to a distance in the set of directional functions Fjust by considering an integrated extrinsic distance defined as: D(θ1,θ2)=1 0 d(θ1(t), θ2(t))dt =1 01−cos(θ1(t)−θ2(t))dt.(2) Forrobustclustering purposes, we consider the impartial trimmingapproach,where we try that the sample itself inform us which are the “most outlying” directional functions to be trimmed. In this approach, we search for kdirectional functions {m1,...,mk}⊂F(with k<< n) or “prototypes” that better serve to summarize our set of observed curves θ1,...,θn, but allowing a proportion α∈[0,1)of curves to be trimmed in an “optimal” way. These m1,...,mkserve to create a partition of the non-trimmed θidirectional functions, by assigning each θito cluster J,ifθiis closest to mJthan to the other mjprototypes when using the distance in (2). The fraction αof trimmed θidirectional functions, as suspicious of being outliers, are left unassigned. To be more precise, let us introduce some further notation in this functional directional framework. For θ∈Fand M={m1,...,mk}⊂F, 123 184 P. C. Álvarez-Esteban, L. A. García-Escudero let us define D(θ;M)=D(θ;{m1,...,mk}):= inf j=1,...,kD(θ,mj). The trimmed k-mean problem can be now defined through the following double minimization procedure: inf H⊂{1,...,n}:card(H)=n(1−α)inf M⊂F:card(M)=k i∈H D(θi;M), (3) where xis the least integer greater than or equal to x. Note that this double minimization is done on every possible subset of indexes H such that H⊂{1,...,n}and card(H)=n(1−α), and every possible set of k function M={m1,...,mk}in F. The result of that double minimization is the set of optimally non-trimmed functions, i.e. those with indexes in H, and a set with the k optimal center or prototype directional functions given by M={m1,...,mk}. To gain insights on how this complex double maximization can be simplified, let us present some additional notation and two main results. Given kcentres M= {m1,...,mk}, let us define the optimal radius as rα(M)=inf{r≥0:card{i:D(θi;M)≥r}≤[nα]}. In other words, if D(θ(1);M)≤D(θ(2);M)≤... ≤D(θ(n);M), then rα(M)=D(θ(n(1−α));M). By using this notation, we introduce the subset H(M)⊂{1,...,n}, with card(H(M)) =n(1−α), defined as H(M)={i:D(θi;M)≤rα(M)}.(4) Theorem 1show that, if the optimal set Mwere known, then the optimal set H including all the non-trimmed curves can be chosen as those with indexes in H(M). Notice that H(M)can easily determined from Mjust by sorting all the D(θi;M) distances. Theorem 1 Let VH(M)=i∈HD(θi;M). We have that VH(M)(M)≤VH(M)for every Hwith card(H)=n(1−α)for VH(M)(M)as defined in (4). Proof Since card(H)=card(H(M)) =n(1−α), we trivially have that card{H∩H(M)c}=card{Hc∩H(M)}. We have VH(M)≤VHbecause VH= i∈H∩H(M) D(θi;M)+ i∈H∩H(M)c D(θi;M) 123 Robust clustering of functional directional data 185 ≥ i∈H∩H(M) D(θi;M)+rα(M)·card{H∩H(M)c} = i∈H∩H(M) D(θi;M)+rα(M)·card{Hc∩H(M)} ≥ i∈H∩H(M) D(θi;M)+ i∈Hc∩H(M) D(θi;M) =VH(M).  Therefore, if Mwere known, there is no needed to explore the combinatorial set of all possible Hsubsets. Moreover, it is also trivial to see that H(M)can be optimally split as H(M)=H1(M)∪... ∪Hk(M), with Hj(M)={i∈H(M)such that D(θi;M)=D(θi,mj)} (again, only depending on sorting these D(θi;M)distances). Consequently, if we introduce V(M)= k  j=1 i∈Hj(M) D(θi,mj), then the double minimization in (3) can be rewritten as a single minimization, only depending on the set of koptimal directional functions M,as inf M⊂F:card(M)=kV(M). On the other hand, if we assume H=H1∪... ∪Hkwere known, the optimal mj can be easily obtained by computing pointwise directional means: Theorem 2 Let H=H1∪... ∪Hkfixed and let us define VH(M)= k  j=1 i∈Hj D(θi,mj) for M ={m1,...,mk}. The minimal value of VH(M)is attained when t→ mj(t)=arg min ω i∈Hj d(θi(t), ω) =arg min ω i∈Hj (1−cos(θi(t)−ω)), 123 186 P. C. Álvarez-Esteban, L. A. García-Escudero for t ∈[0,1]and j =1, ..., k. Proof This result easily follows from the fact that  i∈Hj D(θi,mj)=1 0⎛ ⎝ i∈Hj d(θi(t), mj)⎞ ⎠dt. Given that d(·,·)is positive, the minimization of that integral is done throughout a pointwise minimization of the integrating term.  Notice that closed expressions for mj(t)are available as mj(t)=arg i∈Hjexp(i·θi(t)) card(Hj), (i denotes the imaginary unit) or, analogously, mj(t)=atan2⎛ ⎝1 card(Hj) i∈Hj sin θi(t), 1 card(Hj) i∈Hj cos θi(t)⎞ ⎠. Theorem 1and Theorem 2will be applied to derive a feasible algorithm in Sect. 3. 3 Algorithm Given a sample of directional functions θ1,...,θn⊂F, a fixed number of clusters k and a fixed trimming level α: 1 Initialize Btimes: Each initialization starts from krandomly chosen initial centroids m(0) 1,...,m(0) k(for instance, krandomly chosen θidirectional functions from our sample). 2 Iterate: Given centroids m(l−1) 1,...,m(l−1) kat stage l−1: 2.1 Let dij =D(θi,m(l−1) j),Di=minj=1,...,kdij and sort these values in D(1)≤ ... ≤D(n). 2.2 Take H(l) j={i:dij =Diand Di≤D(n(1−α))}for j=1, ..., k. 2.3 Update centroids m(l) 1,...,m(l) k, by considering the pointwise directional means: t→ m(l) j(t)=arg ⎛ ⎝i∈H(l) j exp(i·θi(t)) card H(l) j⎞ ⎠. 3AfterLiterations of steps 2.1–2.4, we compute the value of the target function k j=1i∈H(L) j D(θi,m(L) j)resulting from this random initialization. 123 Robust clustering of functional directional data 187 4 Return as algorithm’s output those partitions and templates yielding the smallest value in Step 3. The theoretical justification of this algorithm follows from the application of Theorem 1and Theorem 2, that guarantee the monotonically decrease of the target function in the iterative part of the algorithm. Brandom initializations are considered to avoid that the algorithm get stuck in local minima of the target function (3). A stopping rule can be also added to avoid unnecessary iterations if, after applying Step 2, the iterated solution does not change. 4 Algorithm with warping When studying some processes it is usual to find some common patterns that occur at different speeds. One example can be found in some features of living beings (humans, animals, plants) of the same species where growth occur at different paces. Another example is the recognition of speech signals where the same word can be pronounced with varying speeds. It is in this last context where a family of techniques, known as dynamic time warping (DTW) algorithms, where introduced to deal with these different speeds (Sakoe and Chiba 1971). The global aim of these algorithms is to ensure that the varying speeds do not affect the similarity analysis of the curves and therefore allow the mentioned patterns to be detected. This is achieved through an appropriate time warping alignment function, φ, of the curves to be compared. A good reference that explains in more detail the theory of the DTW methodology applied here is Kruskal and Liberman (1983). In the following we adapt the notation in Giorgino (2009) to our context. Let θ1 and θ2two directional functions and φ=(φ1,φ 2), where φ1,φ 2:[0,1]→[0,1]are two functions that warp the time for θ1and θ2respectively. In order to have consistent warpings, some constraints have to be imposed on φ. First, φ1and φ2must be nondecreasing continuous functions to ensure that time order is not reversed and to avoid timejumps.Also,startingandendingcurvepointsmustmatch,i.e.,φ1(0)=φ2(0)=0 and φ1(1)=φ2(1)=1. In other words, we do not allow the beginning or end of any curvetobetrimmed. Inordertohavesome controloverthelocalchanges in timespeed, we may also impose that φ1(t), φ2(t)∈[t−δ,t+δ]for a preset value δ∈(0,1], i.e., φ(t)must lie in a band around t. Now, using the distance defined in (1), an accumulated distortion function dφis defined as dφ(θ1,θ2)=1 0 dθ1(φ1(t)), θ2(φ2(t))mφ(t)Mφdt,(5) wheremφ(t)isaweightingfunctionand Mφthecorrespondingnormalizationconstant, both to have comparable values for different choices of φ(see, e.g., Giorgino 2009, for more details). Then, the use of a DTW procedure to compare θ1and θ2requires 123 188 P. C. Álvarez-Esteban, L. A. García-Escudero to find the optimal value of −→ Ddefined as: −→ D(θ1,θ2)=inf φdφ(θ1,θ2), under the assumed conditions on φand where din (5) corresponds to the extrinsic distance in S1. To compute the value of −→ Dfor two given curves θ1and θ2a numerical approximation of (5) is necessary, which we carry out through a discretisation in [0,1]of θ1and θ2. If we consider a grid of equispaced nodes of size Nin [0,1]for both curves, then the computation of −→ Dcan be carried out with DTW algorithms for discrete time series as those reviewed and described in Giorgino (2009), where the previous constraints on φhave a direct transpose. Although there is the possibility of estimating these φ functions, in our case we are only interested in computing the value of −→ D. Moreover, even though the computational complexity of the DTW algorithm for two time series of length Nin the general case is O(N2), in our case, the computational complexity can be notably reduced when adding control over local changes in time speed. The use of the DTW methodology is not essential in our proposal and could be replaced by other alternatives for curve registration (see, e.g., Marron et al. 2015,) and the same applies to the chosen constraints on the φfunctions. Ourproposed algorithmfollowssimilarlines asthe algorithmintroduced inSangalli et al. (2010) but the DTW distance, −→ D, is used instead. Given directional functions θ1,...,θn⊂F, we search again for H=H1∪... ∪ Hk⊂{1,2, ..., n}with card(H)=n(1−α)and for ktemplates ξ1,...,ξk∈F minimizing k  j=1 i∈Hj −→ D(θi,ξj). The ktemplates ξjmay be seen as a kind of representative directional function for all the directional functions assigned (after warping) to cluster j. Notice that again a fraction αof directional functions with the (hopefully) most outlying behavior are trimmed. A modified trimmed k-mean including warping can be given as: 1 Initialize Btimes: Each initialization starts from krandomly chosen initial templates ξ(0) 1,...,ξ(0) k(as done in the algorithm presented in Sect. 3). krandomly chosen θidirectional functions from our sample can be chosen for this purpose. 2 Iterate: Given ξ(l−1) 1,...,ξ(l−1) k: 2.1 Let dij =−→ D(θi,ξ(l−1) j),Di=minj=1,...,kdij and D(1)≤... ≤D(n). 2.2 Take H(l) j={i:dij =Diand Di≤D(n(1−α))}for j=1,...,k. 2.3 Let  θij be the directional function θiafter optimally warping it into the reference template ξ(l−1) j,fori=1,...,nand j=1, ..., k. 123 Robust clustering of functional directional data 189 2.4 Update templates as ξ(l) jbeing the pointwise directional mean of those  θij’s warped directional functions with i∈H(l) j. 3AfterLiterations of steps 2.1–2.4, we compute the value of the target function k  j=1 i∈H(L) j −→ D(θi,ξ(L) j). 4 Return as the algorithm’s output those partitions and templates yielding the smallest value in Step 3. 5 Choice of parameters The correct choice of all the involved parameters, k(number of groups) and α(trimming level), is not an easy problem. The proper choice of kis a classical problem in Cluster Analysis and several proposals can be found in the literature trying to address it.The choiceofαis anadditionalproblemappearingnowduetothetrimmingmethodology adopted. Moreover, the choice of these two parameters should be done in an unified fashion because their effects are clearly interrelated. For instance, a high trimming level αcould allow to entirely discard smaller clusters so that the total number of clusters khas to be decreased. Sometimes the real data problem at hand provides some information on these two parameters, but in many others they are completely unknown and some guidance on their choice is welcome. In this section, we review a simple approach introduced in García-Escudero et al. (2003), which is based on analyzing the decreasing pattern of the so-called trimmed k-variance functionals defined as Wk:α→ Wk(α) for k=1,2, ..., where Wk(α) is the minimum value attained in the minimization problem in (3)for fixed values of kand α. In fact, it is suggested the analysis of numerical second derivatives of these functionals. In order to approximate them, let us consider an equispaced grid of trimming levels {α1,α 2,...,αL}⊂[0,1]with αl=l/(L+1) and take  W k(αl)≈Wk(αl−h)−2Wk(αl)+Wk(αl+h) (h/(L+1))2, defined for l∈{h+1,h+2,...,h−n}. We, thus, consider the numerical second derivative functionals as W k:αl→  W k(αl), defined for k=1,2,... and l∈ {h+1,h+2,...,h−n}. The tuning parameter hcontrols the roughness of these numerical second derivative functionals, in such a way that they are more rough and 123 196 P. C. Álvarez-Esteban, L. A. García-Escudero Fig. 5 (From left to right, top to bottom) All 2D trajectories, trimmed trajectories (white), trajectories in cluster 1–4 (dark red, orange, green and blue colors, respectively) (color figure online) depart from the south of the airport and approaches destination both from the northeast and southwest. Those from the northeast are in the majority and this is reflected in the corresponding centroid (blue color) in the first plot of Fig. 4. On the opposite, clusters 1–3 are composed by trajectories which depart from the north of LEMD, and the main differences among them are in the way of approaching LEBL. Cluster 1 (dark red) is composed by trajectories that approach LEBL from the northeast and the last section is characterized by a sharp turn towards the airport. Cluster 2 (orange) is composed by trajectories that approach LEBL from the southeast but before the last section of the path they open up to the sea (to the east), in a sharp turn. Finally, cluster 3 (green) is composed by trajectories that approach LEBL both from the northeast -but with a smoother (than those in cluster 1) turn-, and from the southwest -but without the turn observed in Cluster 2-. One could think of a registration process (alignment or “warping”) that allows detecting representative routes described by their headings regardless of their speeds. This will serve to simplify future analyses by grouping flights close to these representative routes. The DTW method makes it easy to control the maximum degree of “time lag” allowed. Figure 6shows the output of applying the algorithm with warping of Sect. 4to the previous dataset, using k=4 and α=0.20. The trajectories drawn in the four plots show very slight differences with the corresponding ones in Fig. 4indicating that in this case the scaling to the interval [0,1]is sufficient to correct the differences in flight durations and speeds. 123 Robust clustering of functional directional data 197 Fig. 6 Output of the algorithm with warping applied to the aircraft trajectories example (k=4, α=0.2). From left to right, top to bottom, some trajectories in cluster 1–4 (dark red, orange, green and blue colors, respectively). White color curves represent the template routes, ξj, for each group j=1,...,4 (color figure online) The use of alternative registration procedures like those in Srivastava and Klassen (2016) could be another approach to follow in this type of problem. 8 Conclusions and further directions A new methodology for robust clustering directional functional data has been introduced and a feasible algorithm has been proposed and justified. Robustness against outlying curves is pursued by allowing that a fixed fraction αof curves, hopefully the most outlying ones, are left unassigned or trimmed. The procedure is extended to allow for time warpings in the directional functions. An application to group aircraft trajectories is presented to illustrate the interest of the proposed methodology. This work reveals many potential lines of work to consider in the future. For instance, it is interesting to study the possibility of carrying out a feasible dimensionality reduction in a way that can alleviate the computational cost or adequately handle the periodicity in the observed curves. Providing more automated ways of determining the parameters kand αin this particular problem is also an interesting line of research. As with other methods that follow a k-means approach, the procedure ideally assumes that the underlying clusters have the same spread/variation compared to other clusters. To address this problem, it might make sense to consider trimmed versions of mixtures of von Mises-Fisher distributions (Banerjee et al. 2003)inaway analogous to how TCLUST (García-Escudero et al. 2008) generalizes the trimmed k-means. Finally, trimming entire curves can be very extreme if outlying measure- 123 198 P. C. Álvarez-Esteban, L. A. García-Escudero ments only occur at a few particular time points for that curve. It would be useful to develop procedures that are capable of discarding only the outlying measurements in each curve and keeping the valuable information in non-outlying measurements. Acknowledgements We would like to thank Boeing Research and Technology Europe (BRT&E) for the access to the dataset used in Sect. 7. The authors also thank the associate editor and two anonymous referees for their constructive comments, which have been very helpful in improving the manuscript. Funding Open Access funding provided thanks to the CRUE-CSIC agreement with Springer Nature. Open Access ThisarticleislicensedunderaCreativeCommonsAttribution4.0InternationalLicense,which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/. References Banerjee A, Dhillon I, Ghosh J, Sra S (2003) Generative model-based clustering of directional data. In: Proceedings of the ninth ACM SIGKDD international conference on knowledge discovery and data mining. pp. 19–28 Cuesta-Albertos JA, Fraiman R (2007) Impartial trimmed k-means for functional data. Comput Stat Data Anal 51:4864–4877 Cuesta-Albertos JA, Gordaliza A, Matrán C (1997) Trimmed k-means: an attempt to robustify quantizers. Ann Stat 25:553–576 Ferraty F, Vieu P (2006) Nonparametric functional data analysis. Springer Series in Statistics, Springer, New York García-Escudero L, Gordaliza A, Matrán C, Mayo-Iscar A (2008) A general trimming approach to robust cluster analysis. Ann Stat 36:1324–1345 García-Escudero L, Gordaliza A, Matrán C, Mayo-Iscar A (2010) A review of robust clustering methods. Adv Data Anal Classif 4:89–109 García-Escudero L, Gordaliza A, Matrán C, Mayo-Iscar A, Hennig C (2015) Robustness and Outliers, chapter 29, Chapman & Hall/CRC handbooks of modern statistical methods. Taylor & Francis. pp. 653–678 García-Escudero LA, Gordaliza A (1999) Robustness properties of kmeans and trimmed kmeans. J Am Stat Assoc 94:956–969 García-Escudero LA, Gordaliza A (2005) A proposal for robust curve clustering. J Classif 22:185–201 García-Escudero LA, Gordaliza A, Matrán C (2003) Trimming tools in exploratory data analysis. J Comput Gr Stat 12:434–449 Giorgino T (2009) Computing and visualizing dynamic time warping alignments in R: the dtw package. J Stat Softw 31(7):1–24 Gordaliza A (1991) Best approximations to random variables based on trimming procedures. J Approx Theor 64:162–180 Hitchcock D, Greenwood M (2015) Robustness and Outliers, chapter 13, Chapman & Hall/CRC Handbooks of modern statistical methods. Taylor & Francis. pp. 265–287 Jacques J, Preda C (2014) Functional data clustering: a survey. Adv Data Anal Classif 8:231–255 Kruskal JB, Liberman M (1983) The symmetric time-warping problem: from continuous to discrete. In: Sankoff D, Kruskal JB (eds) Time Warps, String Edits, and Macromolecules: the Theory and Practice of Sequence Comparison. Addison-Wesley Publishing Company, pp. 125–161 Ley C, Verdebout T (2017) Modern directional statistics. CRC Press Mardia KV, Jupp PE (2009) Directional statistics. Wiley, New York 123 Robust clustering of functional directional data 199 Marron JS, Ramsay JO, Sangalli LM, Srivastava A (2015) Functional data analysis of amplitude and phase variation. Stat Sci 30:468–484 Ramsay JO, Silverman BW (2005) Functional data analysis. Springer Series in Statistics, Springer, New York Ritter G (2015) Robust cluster analysis and variable selection, volume 137 of Monographs on statistics and applied probability. CRC Press, Boca Raton Rivera-García D, García-Escudero LA, Mayo-Iscar A, Ortega J (2019) Robust clustering for functional data based on trimming and constraints. Adv Data Anal Classif 13:201–225 Rousseeuw PJ (1984) Least median of squares regression. J Am stat Assoc 79:871–880 Sakoe H, Chiba S (1971) A dynamic programming approach to continuous speech recognition. In: Proceedings of the seventh international congress on acoustics Sangalli LM, Secchi P, Vantini S, Vitelli V (2010) K-mean alignment for curve clustering. Comput Stat Data Anal 54(5):1219–1233 Srivastava A, Klassen EP (2016) Functional and shape data analysis. Springer, New York Yassouridis C, Leisch F (2017) Benchmarking different clustering algorithms on functional data. Adv Data Anal Classif 11:467–492 Publisher’s Note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. 123