Time Series Anomaly Detection of International Tourist Arrivals Using Copula-Based Outlier Detection Method

Abstract View: 35,
Download: 27
Download: 0

Authors

  • Nabil Bintang Prayoga Program Studi Statistika dan Sains Data, IPB University https://orcid.org/0009-0005-4035-1918
  • Yenni Angraini Program Studi Statistika dan Sains Data, IPB University
  • Akbar Rizki Program Studi Statistika dan Sains Data, IPB University

DOI:

https://doi.org/10.32665/statkom.v5i1.6427

Keywords:

Anomaly, Copulas-Based Outlier Detection, International Tourists, LSTM

Abstract

Background: An outlier or anomaly is an observation that deviates from normal historical patterns. An observation may appear normal individually, but can be identified as anomalous when evaluated through its dependence on other variables. Copula-based outlier detection (COPOD) accommodates multiple variables using empirical marginal distributions and tail dependence structures to identify anomalies.

Objective: This study aims to detect anomalies in the number of international tourists in Indonesia by considering the variables of inflation and the rupiah exchange rate, as well as to evaluate the handling of anomalies on the forecasting performance of long short-term memory (LSTM).

Methods: Monthly data from January 2000 to December 2025 obtained from CEIC Data, Statistics Indonesia, and Bank Indonesia were used in the study. The analysis includes data exploration and the development of feature engineering, anomaly detection using COPOD, followed by LSTM forecasting.

Results: Detection was carried out based on twelve variables resulting from feature engineering, and eleven periods were identified as anomalies. The forecasting results show better accuracy in the model after handling with a mean absolute percentage error, root mean square error, and Pearson correlation between actual and predicted data, which were 7.494%, 99233, and 0.864, respectively, on the test data.

Conclusion: That good accuracy result can’t be separated from the precision in detecting anomalies. Further research is expected to add relevant variables and develop feature engineering.

Author Biographies

Nabil Bintang Prayoga, Program Studi Statistika dan Sains Data, IPB University

Penulis pertama merupakan mahasiswa Program Studi Statistika dan Sains Data IPB University yang telah melaksanakan sidang akhir dengan skripsi yang saat ini akan disubmit sebagai artikel pada jurnal STATKOM

Yenni Angraini, Program Studi Statistika dan Sains Data, IPB University

Penulis kedua merupakan dosen pembimbing skripsi yang pertama dari Program Studi Statistika dan Sains Data yang telah mereview artikel tersebut

Akbar Rizki, Program Studi Statistika dan Sains Data, IPB University

Penulis kedua merupakan dosen pembimbing skripsi yang kedua dari Program Studi Statistika dan Sains Data yang telah mereview artikel tersebut

References

Ahmar, A. S., Idrus, S. A., & Asmar. (2024). Analyzing Rupiah-USD Exchange Rate Dynamics: A Study with ARCH and GARCH Models. JOIV International Journal on Informatics Visualization, 8(3–2), 1802. https://doi.org/10.62527/joiv.8.3-2.3251

Aldi, F. A. R., & Nathasia, N. D. (2025). Prediksi harga dan kinerja aset Bitcoin menggunakan algoritma Long Short-Term Memory. JURNAL FASILKOM, 15(1), 68–76. https://doi.org/10.37859/jf.v15i1.8902

Arimie, C. O., Biu, E. O., & Ijomah, M. A. (2020). Outlier detection and effects on modeling. OALib, 07(09), 1–30. https://doi.org/10.4236/oalib.1106619

Atkinson, A. C., Riani, M., & Corbellini, A. (2021). The Box–Cox Transformation: Review and extensions. Statistical Science, 36(2). https://doi.org/10.1214/20-sts778

Choi, K., Yi, J., Park, C., & Yoon, S. (2021). Deep Learning for Anomaly Detection in Time-Series Data: Review, analysis, and guidelines. IEEE Access, 9, 120043–120065. https://doi.org/10.1109/access.2021.3107975

Fitri, A., Purnamasari, I., & Siringoringo, M. (2019). Peramalan Jumlah Wisatawan Mancanegara Menggunakan Model ARIMA. Jurnal Statistika Universitas Muhammadiyah Semarang, 7(1), 14–19. https://jurnal.unimus.ac.id/index.php/statistik/article/view/4781/

Genest, C., Okhrin, O., & Bodnar, T. (2023). Copula modeling from Abe Sklar to the present day. Journal of Multivariate Analysis, 201, 105278. https://doi.org/10.1016/j.jmva.2023.105278

Horváth, G., Kovács, E., Molontay, R., & Nováczki, S. (2020). Copula-Based anomaly scoring and localization for Large-Scale, High-Dimensional continuous data. ACM Transactions on Intelligent Systems and Technology, 11(3), 1–26. https://doi.org/10.1145/3372274

Iwueze, I. S., Nwogu, E. C., Nlebedim, V. U., Nwosu, U. I., & Chinyem, U. E. (2018). Comparison of methods of estimating missing values in time series. Open Journal of Statistics, 08(02), 390–399. https://doi.org/10.4236/ojs.2018.82025

Karnick, S., Lakshminarayanan, S., Palati, M., & R, P. (2025). Impact of outlier detection techniques on time-series forecasting accuracy for multi-country energy demand prediction. International Journal of Power Electronics and Drive Systems/International Journal of Electrical and Computer Engineering, 15(6), 5067. https://doi.org/10.11591/ijece.v15i6.pp5067-5079

Khoiriyah, N. S., Silfiani, M., Novelinda, R., & Rezki, S. M. (2023). Peramalan Jumlah Penumpang Kapal di Pelabuhan Balikpapan dengan SARIMA. Jurnal Statistika Dan Komputasi, 2(2), 76–82. https://doi.org/10.32665/statkom.v2i2.2303

Li, Z., Zhao, Y., Botta, N., Ionescu, C., & Hu, X. (2020). COPOD: Copula-Based Outlier Detection. IEEE International Conference on Data Mining, 2020-November, 1118–1123. https://doi.org/10.1109/ICDM50108.2020.00135

Lisnawati, A., Alam, S., & Kurniawan, I. (2025). Aplikasi Prediksi Kedatangan Wisatawan Mancanegara Ke Indonesia Dengan Algoritma Long Short-Term Memory (LSTM). JATI (Jurnal Mahasiswa Teknik Informatika), 9(5), 8343–8349. https://doi.org/10.36040/jati.v9i5.15055

Maharani, N. S., Angraini, Y., Rahmawan, M. A., Putri, O. A., Kurniawan, S., Safitri, T. A., Rizki, A.,

Ningsih, W. a. L., Hidayatulloh, N. G. T., & Ratnasari, A. P. (2023). Aplikasi Model Arima Garch Dalam Peramalan Data Nilai Tukar Rupiah Terhadap Dolar Tahun 2017-2022. Jurnal Matematika Sains Dan Teknologi, 24(1), 37–50. https://doi.org/10.33830/jmst.v24i1.4875.2023

Nabila, J., & Munifatussa’idah, A. (2022). How Do Trade, Inflation, Exchange Rates, And Information Technology Influence International Tourist Visits In Indonesia? Airlangga Journal of Innovation Management, 3(1), 1–17. https://doi.org/10.20473/ajim.v3i1.36922

Nugraha, Y. R. P., & Naylah, M. (2023). Indonesian Tourism Demand by ASEAN Tourist: A Panel Data analysis. Signifikan Jurnal Ilmu Ekonomi, 12(1), 45–56. https://doi.org/10.15408/sjie.v12i1.29894

Nurhambali, M. R., Angraini, Y., & Fitrianto, A. (2024). Implementation of Long Short-Term Memory for Gold Prices Forecasting. Malaysian Journal of Mathematical Sciences, 18(2), 399–422. https://doi.org/10.47836/mjms.18.2.11

Pranolo, A., Setyaputri, F. U., Paramarta, A. K. I., Triono, A. P. P., Fadhilla, A. F., Akbari, A. K. G.,

Utama, A. B. P., Wibawa, A. P., & Uriu, W. (2024). Enhanced multivariate time series analysis using LSTM: A comparative study of Min-Max and Z-Score normalization techniques. ILKOM Jurnal Ilmiah, 16(2), 210–220. https://doi.org/10.33096/ilkom.v16i2.2333.210-220

Rasyidi, M. A. (2024). Resilience and Recovery: Clustering international tourism trends in Indonesia amidst COVID-19. Sustainability and Social Impact, 1(2), 29–38. https://doi.org/10.64849/ssi.v1i2.52

Schmidl, S., Wenig, P., & Papenbrock, T. (2022). Anomaly detection in time series. Proceedings of the VLDB Endowment, 15(9), 1779–1797. https://doi.org/10.14778/3538598.3538602

Shahrestani, S., Carranza, E. J. M., & Sanislav, I. (2026). Geochemical anomaly delineation utilizing copula-based outlier detection method. Applied Computing and Geosciences, 29, 100325. https://doi.org/10.1016/j.acags.2026.100325

Sutisna, E., Dafitri, R., & Daryani, D. (2026). Forecasting foreign tourist arrivals in Indonesia using Google Trends Index as exogenous variable: A comparative study of SARIMAX and LSTM models. Journal of Applied Informatics and Computing, 10(2), 1864–1871. https://doi.org/10.30871/jaic.v10i2.12384

Syahzaqi, I., Sediono, S., Oktavia, S. S., Anggakusuma, A. C., & Wieldyanisa, E. E. (2025). Peramalan Jumlah Barang Kereta Api di Indonesia Menggunakan Metode Seasonal Autoregressive Integrated Moving Average (SARIMA). Jurnal Statistika Dan Komputasi, 4(1), 13–22. https://doi.org/10.32665/statkom.v4i1.4424

Syamad, & Handoyo, R. D. (2023). Analysis of symmetric and asymmetric effects of exchange Rate Pass-Through in Inflation-Targeting Countries. Jurnal Ilmu Ekonomi Terapan, 8(2), 312–337. https://doi.org/10.20473/jiet.v8i2.45150

Taylor, S. J., & Letham, B. (2017). Forecasting at scale. The American Statistician, 72(1), 37–45. https://doi.org/10.1080/00031305.2017.1380080

West, R. M. (2021). Best practice in statistics: The use of log transformation. Annals of Clinical Biochemistry International Journal of Laboratory Medicine, 59(3), 162–165. https://doi.org/10.1177/00045632211050531

Wicaksono, B. B. (2022). Sebuah analisis Pengaruh Inflasi, Suku Bunga dan Nilai Tukar Terhadap Perkembangan Pariwisata di Indonesia. Journal Economics And Strategy, 3(1), 13–23. https://doi.org/10.36490/jes.v2i2.277

Yidan, X., Shaolin, H., & Guotao, Y. (2023). Analysis and Improvement Approach of the impact of data disturbance on LSTM Prediction Algorithm. Transactions on Machine Learning and Artificial Intelligence, 11(5). https://doi.org/10.14738/tecs.115.15411

Zhao, Y., Nasrullah, Z., & Li, Z. (2019). PYOD: A Python toolbox for scalable outlier detection. arXiv (Cornell University). https://doi.org/10.48550/arxiv.1901.01588

Published

2026-06-30
Abstract View: 35, PDF Download: 27 SIMILARITY INDEX Download: 0