Analyzing PM2.5 Levels in Indonesia Using Dynamic Time Warping and Fuzzy Clustering: A Time-Series Ecological Study
Main Article Content
Abstract
Air pollution from particulate matter (PM2.5) poses serious global health risks. This study evaluated five fuzzy clustering methods Fuzzy C-Means (FCM), Fuzzy Possibilistic C-Means (FPCM), Possibilistic Fuzzy C-Means (PFCM), Fuzzy Gustafson-Kessel (FGK), and Fuzzy C-Shells (FCS)—integrated with Dynamic Time Warping (DTW) to cluster PM2.5 levels across 33 Indonesian capital cities. Using an ecological time series design, daily PM2.5 data (March 6, 2023–March 5, 2024; 12,045 data points) from PlumeLabs were analyzed in R 4.4.2 with descriptive and inferential statistics, including the Kolmogorov-Smirnov, Kruskal-Wallis, and Dunn tests. Three clusters—high, moderate, and low pollution—were identified. The DTW+FCS method showed the best performance (PCI: 0.798, MPCI: 0.697, PEI: 0.357, XBI: 0.197) with significant differences (𝑝 < 0.000). These findings highlight DTW+FCS as the optimal approach and emphasize targeted air quality strategies for Indonesia’s highpollution areas.
Article Details

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
References
Fuller R, Landrigan PJ, Balakrishnan K, Bathan G, Bose-O’Reilly S, Brauer M, et al. Pollution and Health: a Progress Update. Lancet Planet Heal. 2022;6:535–47.
Khomenko S, Cirach M, Pereira-Barboza E, Mueller N, Barrera-Gómez J, Rojas-Rueda D, et al. Premature Mortality Due to Air Pollution in European Cities: A Health Impact Assessment. Lancet Planet Heal. 2021;5:121–34.
Patil RM, Dinde HT. Status of Ambient Air Pollution in Different States of India during 1990–2015. Curr World Environ. 2023;18:245–64.
Ahmed M, Seraj R, Islam SMS. The kmeans Algorithm: A Comprehensive Survey and Performance Evaluation. Electronics. 2020;9:1295.
Ikotun AM, Ezugwu AE, Abualigah L, Abuhaija B, Heming J. K-means clustering algorithms: A comprehensive review, variants analysis, and advances in the era of big data. Inf Sci (Ny). 2023;622:178–210.
Miyamoto S, Ichihashi H, Honda K. Algorithms for Fuzzy Clustering. Berlin: Springer; 2008.
Krasnov D, Davis D, Malott K, Chen Y, Shi X, Wong A. Fuzzy C-Means Clustering: A Review of Applications in Breast Cancer Detection. Entropy. 2023;25:1–14.
Özdemir O, Kaya A. Comparison of FCM, PCM, FPCM and PFCM Algorithms in Clustering Methods. Afyon Kocatepe Univ J Sci Eng. 2019;19:92–102.
Paradilla YS, Hayati MN, Sifriyani S. Implementation of the fuzzy gustafsonkessel method on grouping districts/cities in Kalimantan island based on poverty issues factors. BAREKENG J Ilmu Mat Dan Terap. 2023;17:0125–34.
Pratiwi NBI, Saputro DRS, Widyaningsih P. Fuzzy C-Shells for Clustering of Data’s LQ45 in Indonesia Based on Earnings per Share and Price Earning Ratio. J Phys Conf Ser. 2021;1776:1–9.
Chuang HC, Shie RH, Chio CP, Yuan TH, Lee JH, Chan CC. Cluster Analysis of Fine Particulate Matter (PM2.5) Emissions and Its Bioreactivity in the Vicinity of A Petrochemical Complex. Environ Pollut. 2018;236:591–7.
Suris FNA, Bakar MAA, Ariff NM, Mohd Nadzir MS, Ibrahim K. Malaysia PM10 Air Quality Time Series Clustering Based on Dynamic Time Warping. Atmosphere (Basel). 2022;13.
Ulhaq MZ, Farid M, Aziza ZI, Nuzullah TMF, Syakir F, Sasmita NR. Integration of machine learning and time series analysis for upwelling prediction dashboard in lake Laut Tawar, Indonesia: A study based on climate forecasting. Theor Appl Climatol. 2025;156:1-12.
Rahman EA, Hamzah FM, Latif MT, Dominick D. Assessment of PM2.5 Patterns in Malaysia Using the Clustering Method. Aerosol Air Qual Res. 2022;22:1–15.
Liu Y, Zhang Y-A, Zeng M, Zhao J. A novel distance measure based on dynamic time warping to improve time series classification. Inf Sci (Ny). 2024;656:1–16.
Carlos de Abreu L, Elmusharaf K, Eduardo Gomes Siqueira C. A time-series ecological study protocol to analyze trends of incidence, mortality, lethality of COVID-19 in Brazil. J Hum Growth Dev. 2021;31:491–5.
Rendana M, Razi Idris WM, Abdul Rahim S. Clustering analysis of PM2.5 concentrations in the South Sumatra Province, Indonesia, using the Merra-2 Satellite Application and Hierarchical Cluster Method. AIMS Environ Sci. 2022;9:754–70.
Azharuddin, Sasmita NR, Idroes GM, Andid R, Raihan, Fadlilah T, et al. Patient Satisfaction And Its Socio-Demographic Correlates In Zainoel Abidin Hospital, Indonesia: A Cross-Sectional Study. Unnes J Public Heal. 2023;12:57–67.
Sasaki D, Sofyan H, Sasmita NR, Affan M, Nizamuddin N. Assessing the Intermediate Function of Local Academic Institutions During the Rehabilitation and Reconstruction of Aceh, Indonesia. J Disaster Res. 2021;16:1265–73.
Earlia N, Bulqiah M, Muslem M, Karma T, Suhendra R, Maulana A, et al. Protective Effects of Acehnese Traditionally Fermented Coconut Oil (Pliek U Oil) and its Residue (Pliek U) in Ointment against UV Light Exposure: Studies on Male Wistar Rat Skin (Rattus novergicus). Sains Malaysiana. 2021;50:1285–95.
Saputra A, Sofyan H, Kesuma ZM, Sasmita NR, Wichaidit W, Chongsuvivatwong V. Spatial patterns of tuberculosis in Aceh Province during the COVID-19 pandemic: a geospatial autocorrelation assessment. IOP Conf Ser Earth Environ Sci. 2024;1356:012099.
Klawonn F, Hoffmann G. Using Fuzzy Cluster Analysis to Find Interesting Clusters. In: Build. Bridg. between Soft Stat. Methodol. Data Sci., Bern: Springer; 2023. p. 231–9.
Rahayu L, Sasmita NR, Adila WF, Kesuma ZM, Kruba R. Spatial Estimation of Relative Risk for Dengue Fever in Aceh Province using Conditional Autoregressive Method. J Appl Data Sci. 2023;4:466–79.
Donmez MB, Olcay EO, Demirel M. Load-to-Failure Resistance and Optical Characteristics of Nano-Lithium Disilicate Ceramic after Different Aging Processes. Materials (Basel). 2022;15:4011.
Nguyen D, Kim E, Wang Y, Pham TV, Chen Y-H, Kromrey JD. Empirical Comparison of Tests for One-Factor ANOVA Under Heterogeneity and Non-Normality: A Monte Carlo Study. J Mod Appl Stat Methods. 2020;18:2–30.
Zarauz C, Pradíes GJ, Chebib N, Dönmez MB, Karasan D, Sailer I. Influence of Age, Training, Intraoral Scanner, and Software Version on the Scan Accuracy of Inexperienced Operators. J Prosthodont. 2023;32:135–41.
Nwobi F, Akanno F. Power Comparison of ANOVA and Kruskal–Wallis Tests when Error Assumptions are Violated. Adv Methodol Stat. 2021;18.
Sofyan H, Diba F, Susanti SS, Marthoenis M, Ichsan I, Sasmita NR, et al. The state of diabetes care and obstacles to better care in Aceh, Indonesia: a mixedmethods study. BMC Health Serv Res. 2023;23:1–7.
Wang W, Lyu G, Shi Y, Liang X. Time Series Clustering Based on Dynamic Time Warping. In: Proc. IEEE Int. Conf. Softw. Eng. Serv. Sci. ICSESS, IEEE; 2018. p. 487–90.
Dai J, He Y, Wang Z, Wang M. An Unsupervised Grey Incidence Clustering Method Based on Multi-Dimensional Dynamic Time Warping Distance. In: 2018 IEEE 3rd Int. Conf. Cloud Comput. Big Data Anal., IEEE; 2018. p. 88–92.
Pedrycz W. An Introduction to Computing with Fuzzy Sets. vol. 190. Cham: Springer International Publishing; 2021.
Rahhal T Al, Rençber ÖF. Comparisons of K-Means and Fuzzy C-Means Algorithm by Clustering Countries. Ankara: Iksad Publications House; 2022
Lahjouji M, Alami J el, Hlyal M. Advanced Intelligent Systems for Sustainable Development (AI2SD’2019). vol. 1104. Cham: Springer International Publishing; 2020.
Giordani P, Ferraro MB, Martella F. An Introduction to Clustering with R. vol. 1. Singapore: Springer Singapore; 2020.
Maji KJ, Dikshit AKu, Deshpande AW. Recent Developments and the New Direction in Soft-Computing Foundations and Applications. vol. 393. Cham: Springer International Publishing; 2021.
Scitovski R, Sabo K, Martínez-Álvarez F, Ungar Š. Cluster Analysis and Applications. Cham: Springer International Publishing; 2021.
Dave RN. Fuzzy shell-clustering and applications to circle detection in digital images. Int J Gen Syst. 1990;16:343–55.
Escudero LAG, Alfonso G, Agustín M, Lubiano GMA, Angeles GM, Przemyslaw G, et al. Building Bridges between Soft and Statistical Methodologies for Data Science. vol. 1433. Cham: Springer International Publishing; 2023.
Bowden R. The Information Theory of Comparisons. Singapore: Springer Singapore; 2018.
Bezdek JC. Pattern Recognition with Fuzzy Objective Function Algorithms. Boston, MA: Springer US; 1981.
Heumann M, Kraschewski T, Werth O, Breitner MH. Reassessing taxonomybased data clustering: Unveiling insights and guidelines for application. Decis Support Syst. 2024;187:114344.
Xie XL, Beni G. A validity measure for fuzzy clustering. IEEE Trans Pattern Anal Mach Intell. 1991;13:841–7.
Lee S, Lee DK. What is the proper way to apply the multiple comparison test? Korean J Anesthesiol. 2018;71:353–60.
Soriano MA, Jiménez-Ormeño E, Haff GG, Comfort P, Giráldez-Costas V, Ruiz-Moreno C, et al. A comparison of three load-velocity based methods to estimate maximum overhead press performance in weightlifters. Int J Sports Sci Coach. 2023;18:1585–93.
Mittal H, Pandey AC, Saraswat M, Kumar S, Pal R, Modwel G. A comprehensive survey of image segmentation: clustering methods, performance parameters, and benchmark datasets. Multimed Tools Appl. 2022;81:35001–26.
Runkler TA. Relation Fuzzy Clustering. In: Oliveira JV de, Pedrycz W, editors. Adv. Fuzzy Clust., West Sussex: John Wiley & Sons, Ltd; 2007. p. 1–457
Auwalin IL, Rumayya, Sukartini NM. Environmental impacts of green open space in urban Indonesia: a differencein-differences analysis. Asian Dev Rev. 2024;1:1–32.
Jiang B, Li Y, Yang W. Evaluation and Treatment Analysis of Air Quality Including Particulate Pollutants: A Case Study of Shandong Province, China. Int J Environ Res Public Health.
Santoso M, Hopke PK, Damastuti E, Lestiani DD, Kurniawati S, Kusmartini I, et al. The air quality of Palangka Raya, Central Kalimantan, Indonesia: The impacts of forest fires on visibility. J Air Waste Manage Assoc. 2022;72:1191–200.
Santoso M, Lestiani DD, Kurniawati S, Damastuti E, Kusmartini I, Atmodjo DPD, et al. Assessment of Urban Air Quality in Indonesia. Aerosol Air Qual Res. 2020;20:2142–58.
Hanami ZA, Amin M, Hustim M, Putri RM, Torabi SE, Ramadhani AAT, et al. Spatial–Temporal Changes in Air Pollutants in Four Provinces of Sumatra Island, Indonesia: Insights from Sentinel-5P Satellite Imagery. Urban Sci. 2025;9:42.
Kemala N, Gani A, Mahidin. Evaluation of the Effect of Motorized Vehicles on Ambient Air Quality on Various Types of Road Sections in Banda Aceh City. J Penelit Transp Darat. 2020;21:131–44.
Zhan C, Xie M, Lu H, Liu B, Wu Z, Wang T, et al. Impacts of urbanization on air quality and the related health risks in a city with complex terrain. Atmos Chem Phys. 2023;23:771–88.
Qi G, Che J, Wang Z. Differential effects of urbanization on air pollution: Evidences from six air pollutants in mainland China. Ecol Indic. 2023;146:109924.
Borck R, Schrauth P. Population density and urban air quality. Reg Sci Urban Econ. 2021;86:103596.
Zhang L, You S, Zhang M, Zhang S, Yi S, Zhou B. The effects of urbanization on air pollution based on a spatial perspective: Evidence from China. Front Environ Sci. 2022;10:1–16.
Bikis A. Urban Air Pollution and Greenness in Relation to Public Health. J Environ Public Health. 2023;2023:1–18.
Nakyai T, Santasnachok M, Thetkathuek A, Phatrabuddha N. Influence of meteorological factors on air pollution and health risks: A comparative analysis of industrial and urban areas in Chonburi Province, Thailand. Environ Adv. 2025;19:1–9.
Gunawan H, Setyawati T, Atmoko T, Subarudi, Kwatrina RT, Yeny I, et al. A review of forest fragmentation in Indonesia under the DPSIR framework for biodiversity conservation strategies. Glob Ecol Conserv. 2024;51:1–21.
Rendana M, Razi Idris WM, Rahim SA. Clustering Analysis of PM2.5 Concentrations in The South Sumatra Province, Indonesia, Using the Merra-2 Satellite Application and Hierarchical Cluster Method. AIMS Environ Sci. 2022;9:754–70.
Mohyuddin S, Alam K, Zeb B, Khokhar MF, Mir KA, Wexler AS, et al. Characterization and source identification of PM2.5 during intense haze episodes in an urban environment of Lahore. Atmos Environ X. 2024;23:1–12.
Zhu Q, Liu Y, Hasheminassab S. Longterm source apportionment of PM2.5 across the contiguous United States (2000–2019) using a multilinear engine model. J Hazard Mater. 2024;472:1–27.
Srisaringkarn T, Aruga K. The Spatial Impact of PM2.5 Pollution on Economic Growth from 2012 to 2022: Evidence from Satellite and Provincial-Level Data in Thailand. Urban Sci. 2025;9:1–22.
Jin Z, Velásquez Angel MA, Mura I, Franco JF. Enriched spatial analysis of air pollution: Application to the city of Bogotá, Colombia. Front Environ Sci. 2022;10:1–15.