Application of Data Mining in Predicting Demand for Blood Bags Based on Blood Type Using the Single Moving Average Method (SMA)
Case Study: PMI UDD, Langkat Regency
DOI:
https://doi.org/10.56211/hanif.v3i1.54Keywords:
Data Mining; Blood Group; Blood Demand Prediction; Single Moving Average (SMA); UDD PMI Langkat
Abstract
Blood stock availability at the Blood Donation Unit (UDD) PMI Langkat Regency is often disrupted due to unpredictable demand and reliance on voluntary donors, leading to risks of shortages or surpluses, especially for certain blood groups. This study applies a data mining method using the Single Moving Average (SMA) approach to predict the demand for blood bags based on blood groups (A, B, AB, and O) over the past year. The forecasting process calculates the average demand over a specific period and measures accuracy using MAPE, MSE, and MAD. The results show that the SMA method provides reasonably accurate predictions, with blood group O having the highest average demand of 161 bags per month, followed by blood groups A, B, and AB. An average MAPE value below 10% indicates that this method is effective for blood stock planning at UDD PMI Langkat, helping to optimize blood inventory management and minimize the risk of shortages or surpluses.
Downloads
References
Buku
Indah Purnama Sari. Algoritma dan Pemrograman. Medan: UMSU Press, 2023, pp. 290.
Indah Purnama Sari. Buku Ajar Pemrograman Internet Dasar. Medan: UMSU Press, 2022, pp. 300.
Indah Purnama Sari. Buku Ajar Rekayasa Perangkat Lunak. Medan: UMSU Press, 2021, pp. 228.
Janner Simarmata Arsan Kumala Jaya, Syarifah Fitrah Ramadhani, Niel Ananto, Abdul Karim, Betrisandi, Muhammad Ilham Alhari, Cucut Susanto, Suardinata, Indah Purnama Sari, Edson Yahuda Putra. Komputer dan Masyarakat. Medan: Yayasan Kita Menulis, 2024, pp.162.
Mahdianta Pandia, Indah Purnama Sari, Alexander Wirapraja Fergie Joanda Kaunang, Syarifah Fitrah Ramadhani Stenly Richard Pungus, Sudirman, Suardinata Jimmy Herawan Moedjahedy, Elly Warni, Debby Erce Sondakh. Pengantar Bahasa Pemrograman Python. Medan : Yayasan Kita Menulis, 2024, pp.180
Zelvi Gustiana Arif Dwinanto, Indah Purnama Sari, Janner Simarmata Mahdianta Pandia, Supriadi Syam, Semmy Wellem Taju Fitrah Eka Susilawati, Asmah Akhriana, Rolly Junius Lontaan Fergie Joanda Kaunang. Perkembangan Teknologi Informatika. Medan: Yayasan Kita Menulis, 2024, pp.158
Jurnal
Sari, I.P., Hariani, P.P., Al-Khowarizmi, A., Ramadhani, F., Sulaiman, O.K., Satria, A, & Manurung, A.A. (2024). CLUSTERING HIV/AIDS DISEASE USING K-MEANS CLUSTERING ALGORITHM. Proceeding International Seminar on Islamic Studies 5 (1), 1668-1676
Sari, I.P., Ramadhani, F., Satria, A., & Sulaiman, O.K. Leukocoria Identification: A 5-Fold Cross Validation CNN and Adaboost Hybrid Approach. 2023 6th International Seminar on Research of Information Technology and Intelligent Systems (ISRITI), 486-491 DOI: https://doi.org/10.1109/ISRITI60336.2023.10467242
Manurung, A.A., Nasution, M.D., & Sari, I.P. (2023). Implementation of Fuzzy K-Nearest Neighbor Method in Dengue Disease Classification. 2023 11th International Conference on Cyber and IT Service Management (CITSM), 1-4 DOI: https://doi.org/10.1109/CITSM60085.2023.10455306
Sari, I.P., Ramadhani, F., Satria, A., & Apdilah, D. (2023). Implementasi Pengolahan Citra Digital dalam Pengenalan Wajah menggunakan Algoritma PCA dan Viola Jones. Hello World Jurnal Ilmu Komputer 2 (3), 146-157 DOI: https://doi.org/10.56211/helloworld.v2i3.346
Sari, I.P., Al-Khowarizmi, A, Sulaiman, O.K., & Apdilah, D. (2023). Implementation of Data Classification Using K-Means Algorithm in Clustering Stunting Cases. Journal of Computer Science, Information Technology and Telecommunication Engineering 4 (2), 402-412 DOI: https://doi.org/10.30596/jcositte.v4i2.15765
Sulaiman, O.K & Batubara, I.H. (2021). Implementation Data Mining For Level Analysis Traffic Violation By Algorithm Association Rule. Al'adzkiya International of Computer Science and Information Technology (AIoCSIT) Journal 2 (2), 128-135
Sari, I.P., Batubara, I.H., & Al-Khowarizmi, A. (2021). Sensitivity Of Obtaining Errors In The Combination Of Fuzzy And Neural Networks For Conducting Student Assessment On E-Learning. International Journal of Economic, Technology and Social Sciences (Injects) 2 (1), 331-338 DOI: https://doi.org/10.53695/injects.v2i1.412
Sari, I.P., Al-Khowarizmi, A., & Batubara, I.H. (2021). Cluster Analysis Using K-Means Algorithm and Fuzzy C-Means Clustering For Grouping Students' Abilities In Online Learning Process. Journal of Computer Science, Information Technology and Telecommunication Engineering 2 (1), 139-144
Apdilah, D., & Sari, I.P. (2021). Optimization Of The Fuzzy C-Means Cluster Center For Credit Data Grouping Using Genetic Algorithms. Al'adzkiya International of Computer Science and Information Technology (AIoCSIT) Journal 2 (2), 156-163
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Aqilah Tahara, Irvan Irvan

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish in Hanif Journal of Information Systems agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).
Similar Articles
- Dian Septiana, Forecasting Rice Prices with Holt-Winter Exponential Smoothing Model , Hanif Journal of Information Systems : Vol. 1 No. 2 (2024): February Edition
- Naufal Zaky, Mhd Basri, Prototype of Temperature and Humidity Control System in Dry House or Coffee Drying Dom Using NodeMCU ESP8266 , Hanif Journal of Information Systems : Vol. 2 No. 2 (2025): February Edition
- Ahmad Asadel, Andi Zulherry, Detecting Zero-Width Characters Obfuscated in Phishing URLs using the XGBOOST Algorithm , Hanif Journal of Information Systems : Vol. 3 No. 1 (2025): August Edition
- Muhammad Aulia Abdi Rianto, Mhd. Zulfansyuri Siambaton, Heri Santoso, A Decision Support System for Determining Optimal Concrete Quality Using the Simple Additive Weighting (SAW) Algorithm (Case Study: UISU Concrete Laboratory) , Hanif Journal of Information Systems : Vol. 3 No. 1 (2025): August Edition
- Siti Nur Hidayah, Halim Maulana, Smart Goat System Design and Construction in IoT-Based Goat Pens using Nodemcu ESP8266 , Hanif Journal of Information Systems : Vol. 2 No. 1 (2024): August Edition
- Arief Rahman Hakim, Ahmad Riady Hasibuan, Pipit Putri Hariani, Implementation of Multimedia Development Life Cycle in Learning Media Applications for Children with Mental Disabilities , Hanif Journal of Information Systems : Vol. 2 No. 1 (2024): August Edition
- Fajar Mahardika, Muhammad Labib Abdillah, Design of Unified Modeling Language Information System for Motorcycle Unit Selling and Buying Transactions using the Waterfall Method , Hanif Journal of Information Systems : Vol. 1 No. 2 (2024): February Edition
- Aulia Jannah, Abdillah Husaini, Aulia Ichsan, Mulkan Azhari, Implementation of Fuzzy K-Nearest Neighbor Method in Dengue Disiase Classification , Hanif Journal of Information Systems : Vol. 1 No. 2 (2024): February Edition
- Fachriza Habibi, Isnaini Faiz Qathrunada, Thamita Anggraini, Design and Build a Tourism Website Using Shopify Framework , Hanif Journal of Information Systems : Vol. 1 No. 1 (2023): August Edition
- Aulia Jannah, Adila Mawadda Meuraxa, Azzahrah Azzahrah, Web Based E-Commerce System Design at EXO Shop Using The Waterfall Method , Hanif Journal of Information Systems : Vol. 1 No. 1 (2023): August Edition
You may also start an advanced similarity search for this article.









