Comparison of Simple Moving Average and Least Squares Methods in Forecasting Rice Production in Padang City
DOI:
https://doi.org/10.64570/jamm.v2i1.64Keywords:
Forecasting, Least Square Method, MAPE, Rice Production, Simple Moving AverageAbstract
Rice production is an important agricultural indicator for supporting regional food availability and agricultural planning. Fluctuations and long-term changes in production require appropriate quantitative forecasting methods to provide information about future production levels. This study aims to compare the performance of the Simple Moving Average (SMA) and Least Squares Method (LSM) in forecasting rice production in Padang City and to determine the method that better represents the historical data. A quantitative descriptive approach was employed using annual rice production data for 2016–2025 obtained from the Kota Padang Dalam Angka publications issued by Badan Pusat Statistik. SMA generated forecasts from the average of the two preceding observations, while LSM estimated production through a linear time-trend equation. Forecasting performance was evaluated using Mean Absolute Deviation (MAD), Mean Squared Error (MSE), and Mean Absolute Percentage Error (MAPE), with all calculations performed using Microsoft Excel. The results showed that rice production generally exhibited a declining trend during the observation period. SMA produced MAD of 10.784,53 tons, MSE of 162.101.692,43, and MAPE of 17,39%, whereas LSM produced lower error measures, with MAD of 5.927,95 tons, MSE of 46.858.619,17, and MAPE of 8,14%. The 2026 forecasts generated by SMA and LSM were 46.685,00 tons and 38.451,59 tons, respectively. Based on the historical error measures, LSM provided a better representation of the declining production pattern. The findings indicate that model selection should consider the characteristics of the observed time series rather than computational simplicity alone.
References
Aisya, H. L., Apriliana, B. N., & Andriani, H. (2025). Meramal produksi padi nasional: Pendekatan Moving Average dan Triple Exponential Smoothing. Indonesian Journal of Applied Statistics and Data Science, 2(2). https://doi.org/10.29303/ijasds.v2i2.8494.
Andriani, N., Maulana, R., & Nadiroha, I. T. (2025). Prediction of average rice prices at the Indonesian wholesale level using the least squares method. Journal of Applied Mathematics and Modelling, 1(1), 40–47. https://doi.org/10.64570/jamm.v1i1.5.
Asyari, R., Maulana, A. O., Ikhlas, Rizki, A., & Ridho, M. (2025). Forecasting customer growth at PT PLN (Persero) ULP Lakawan using linear regression. Journal of Applied Mathematics and Modelling, 1(2), 101–109. https://doi.org/10.64570/jamm.v1i2.45.
Badan Pusat Statistik Kota Padang. (2017–2026). Kota Padang dalam angka. Badan Pusat Statistik Kota Padang.
Fahmuddin, M., Ruliana, & Fahmi, N. (2025). Application of time series regression (TSR) and autoregressive integrated moving average (ARIMA) in rice production forecasting in Indonesia. VARIANSI: Journal of Statistics and Its Application on Teaching and Research. https://doi.org/10.35580/variansiunm412.
Fitrawati, E., Setiawati, Rahayu, S. P., Robbaniyyah, N. A., & Rusadi, T. M. (2025). Prediksi tingkat produksi padi di Lombok Barat dengan metode Least Square. Al-Aqlu: Jurnal Matematika, Teknik dan Sains, 4(1). https://doi.org/10.59896/aqlu.v4i1.480.
Fitriani, H. T., Syarbaini, A., & Miftahudin. (2024). Analisis peramalan jumlah produksi padi di Jawa Barat menggunakan metode Single Exponential Smoothing. Karimah Tauhid, 3(10). https://doi.org/10.30997/karimahtauhid.v3i10.15612.
Hamdiah, Y. R., Jannah, R., Choirunnisa, F., Robbaniyyah, N. A., & Rusadi, T. M. (2025). Prediksi tingkat produksi padi di Kota Mataram dengan metode Least Square. Basis: Jurnal Ilmiah Matematika, 4(1). https://doi.org/10.30872/basis.v4i1.1470.
Hasanah, A. (2023). Prediksi produksi padi di Kabupaten Sumenep menggunakan metode Single Exponential Smoothing. Jurnal Arjuna: Publikasi Ilmu Pendidikan, Bahasa dan Matematika, 1(4). https://doi.org/10.61132/arjuna.v1i4.136.
Juniarto, T., Yasmin, Santoso, B., & Faiz, A. N. (2025). Peramalan produksi pupuk NPK menggunakan metode Moving Average, Weighted Moving Average dan Exponential Smoothing di PT. XYZ. Integrasi: Jurnal Ilmiah Teknik Industri, 10(1). https://doi.org/10.32502/integrasi.v10i1.426.
Khofi, B., & Farhan, A. (2025). Prediksi produksi padi menggunakan metode Autoregressive Integrated Moving Average (ARIMA). CORISINDO 2025. https://doi.org/10.30812/corisindo.v1.5326.
Kusuma, M. (2024). Perbandingan metode Holt-Winters dan Seasonal ARIMA dalam memprediksi produksi beras di Indonesia. Jurnal Agribisnis, 26(2). https://doi.org/10.31849/agr.v26i02.17672.
Lumentut, M. D., Rahman, K., & Yunita, S. M. (2025). Analysis of the performance of the moving average method in forecasting the increase in the number of PLN customers on Batam Island. Journal of Applied Mathematics and Modelling, 1(1), 23–31.
Nasution, S. H., Syahputri, N. I., & Aprilia, R. (2024). Penerapan metode Least Square dalam prediksi jumlah produksi padi di Kabupaten Padang Lawas. Justek: Jurnal Sains dan Teknologi, 7(2).
Rusman, M. A. A., Darsono, & Antriyandarti, E. (2023). Analisis forecasting produksi padi di Indonesia. Prosiding Seminar Nasional Fakultas Pertanian UNS.
Safitri, N. H., Badi'ah, R., & Mu'ah. (2025). Analisis peramalan produksi beras di Lamongan dengan menggunakan metode Naive Method, metode Moving Average, metode Exponential Smoothing, dan metode Linear Regression/Least Squares. JSMA (Jurnal Sains Manajemen dan Akuntansi), 17(1). https://doi.org/10.37151/jsma.v17i1.217.






