EUVIMEDEUVIMED entdecken
Open Access · CC BY-SA 4.0

Comparative Analysis of LSTM Architectures for BPJS Drug Expenditure Forecasting Using Walk-Forward Validation

Rizkinawati ., Ifnu Wisma Dwi Prasetya, Nur Mahmudah

Journal of Applied Informatics and Computing · 14.06.2026 · 10 (3) · 2639-2647

DOI: 10.30871/jaic.v10i3.12969 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Journal of Applied Informatics and Computing, online erschienen am 14.06.2026. Verfasst von Rizkinawati . und 2 weiteren Autor:innen. Der Volltext ist frei zugänglich (Open Access, CC BY-SA 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Drug demand planning in health facilities collaborating with BPJS Kesehatan is an important aspect in maintaining drug availability and improving service efficiency. However, drug expenditure data generally forms complex time series patterns that are fluctuating, nonlinear, and influenced by trend and seasonal components, making them difficult to model using conventional forecasting methods. Therefore, this study aims to compare the performance of Long Short-Term Memory (LSTM), Bidirectional LSTM (Bi-LSTM), and Stacked LSTM models in forecasting BPJS patient drug expenditure by medication type at Basuki Rahmat Pharmacy using Walk-Forward Validation. The dataset used consists of monthly drug expenditure transaction data from January 2023 to May 2025 covering 41 types of drugs. The data preprocessing stages include data cleaning, transformation into time series format, Min-Max normalization, and windowing for input-output sequence generation. Time series characteristic analysis was conducted using the Augmented Dickey-Fuller (ADF) test, trend analysis, and seasonality analysis. The results showed that most drug data were stationary with p-values below 0.05, although several drugs still exhibited non-stationary patterns requiring additional transformation. Trend analysis indicated both increasing and decreasing consumption patterns, while seasonality analysis showed that all drug data exhibited seasonal patterns. The forecasting models were evaluated using Mean Absolute Error (MAE), Root Mean Square Error (RMSE), and Mean Absolute Percentage Error (MAPE). Experimental results using Walk-Forward Validation showed that the Bidirectional LSTM model achieved the best forecasting performance with MAE of 51.99, RMSE of 72.06, and MAPE of 402.90, outperforming Single LSTM and Stacked LSTM models. These findings indicate that Bidirectional LSTM is more effective in capturing complex temporal dependencies in BPJS drug expenditure data and has potential to support decision-making in drug inventory management within healthcare facilities.

Zitieren

APA

., R., Prasetya, I. W. D., & Mahmudah, N. (2026). Comparative Analysis of LSTM Architectures for BPJS Drug Expenditure Forecasting Using Walk-Forward Validation. Journal of Applied Informatics and Computing, 10(3), 2639-2647. https://doi.org/10.30871/jaic.v10i3.12969

Vancouver

. R, Prasetya IWD, Mahmudah N. Comparative Analysis of LSTM Architectures for BPJS Drug Expenditure Forecasting Using Walk-Forward Validation. Journal of Applied Informatics and Computing. 2026;10(3):2639-2647. doi:10.30871/jaic.v10i3.12969

BibTeX
@article{2026,
  author = {., Rizkinawati and Prasetya, Ifnu Wisma Dwi and Mahmudah, Nur},
  title = {Comparative Analysis of LSTM Architectures for BPJS Drug Expenditure Forecasting Using Walk-Forward Validation},
  journal = {Journal of Applied Informatics and Computing},
  year = {2026},
  volume = {10},
  number = {3},
  pages = {2639--2647},
  doi = {10.30871/jaic.v10i3.12969}
}
Kostenlos starten →