Application of Multiple Linear Regression to Predicted the Duration of Outpatient Rehabilitation in Drugs Users (Case Study: MAB Rehabilitation Center)
DOI:
https://doi.org/10.59934/jaiea.v6i1.2814Keywords:
Multiple Linier Regression, Prediction, Rehabilitation Duration, NarcoticsAbstract
Narcotics abuse is a major issue that requires appropriate rehabilitation programs. The variation in outpatient rehabilitation duration among patients highlights the need for a prediction model to support rehabilitation planning. This study aims to apply the Multiple Linear Regression method to predict outpatient rehabilitation duration based on age, duration of narcotics use, frequency of use, and type of narcotic substance. The study used secondary data consisting of 800 outpatient records from the MAB Rehabilitation Center. Data processing was performed using Python in Google Colab with the Ordinary Least Squares (OLS) method through data preprocessing, dataset splitting into 80% training data and 20% testing data, and model evaluation using Mean Absolute Error (MAE), Mean Squared Error (MSE), Root Mean Squared Error (RMSE), the coefficient of determination (R²), the t-test, and the F-test. The results show that the Multiple Linear Regression method can be applied to develop a prediction model for outpatient rehabilitation duration. However, the t-test and F-test indicate that all independent variables have no significant effect on rehabilitation duration. The R² value of 0.005 indicates that the model explains only 0.5% of the variation in rehabilitation duration.
Downloads
References
A. Ramdlonaning and E. Achjani Zulfa, “Analisis Kebijakan Rehabilitasi Bagi Penyalahguna Narkotika di Indonesia,” Jurnal Ius Constituendum, vol. 8, no. 1, pp. 50–68, 2023, doi: 10.26623/jic.v8i1.6119.
M. R. Setiawan, “Analisis Yuridis Rehabilitasi Rawat Jalan Narkotika Pelayanan Swasta,” Jurnal Al Azhar Indonesia Seri Ilmu Sosial, vol. 6, no. 2, p. 82, Jul. 2025, doi: 10.36722/jaiss.v6i2.3957.
F. K. D. Mayasari, E. S. Erza, Nurhotimah, and I. M. Saprina, “Analisis Kualitas Hidup P2K Narkotika pada Penerima Layanan Rehabilitasi Rawat Jalan BNN Tahun 2022,” JCIC : Jurnal CIC Lembaga Riset dan Konsultan Sosial, vol. 6, no. 1, pp. 56–72, Dec. 2024, doi: 10.51486/jbo.v6i1.195.
E. R. S. Putri et al., “Prediksi Kasus Aktif Kumulatif Covid-19 Di Indonesia Menggunakan Model Regresi Linier Berganda,” Jurnal Pendidikan Matematika dan Matematika, vol. 5, no. 2, pp. 567–577, 2021, doi: 10.36526/tr.v%vi%i.1231.
K. Nisa, A. S. Susianto, D. Syahfitri, D. Rahayuningtyas, and E. B. Aulia, “Prediksi Angka Harapan Hidup di Indonesia Berdasarkan Jenis Kelamin Menggunakan Regresi Linear,” Jurnal Ilmiah Media Sisfo, vol. 19, no. 2, pp. 116–123, Oct. 2025, doi: 10.33998/mediasisfo.2025.19.2.2510.
C. Adi Rahmat and Y. Novianto, “Jurnal Informatika Dan Rekayasa Komputer (JAKAKOM) Penerapan Metode Regresi Linier Berganda Untuk Mengestimasi Laju Pertumbuhan Penduduk Kabupaten Musi Banyuasin,” 2023. [Online]. Available: http://ejournal.unama.ac.id/index.php/jakakom
A. W. Wahab, “Clustering Kebiasaan Membaca Buku Pada Mahasiswa Di Kota Kendari,” JIKO (Jurnal Informatika dan Komputer), vol. 9, no. 1, p. 1, Feb. 2025, doi: 10.26798/jiko.v9i1.952.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Journal of Artificial Intelligence and Engineering Applications (JAIEA)

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.








