Comparison of Linear Regression and Polynomial Regression for Predicting Rice Prices in Lhokseumawe City

Rice is a strategic food commodity in Indonesia, and its price fluctuations significantly impact inflation, economic stability, and poverty levels. Accurate price prediction is, therefore, essential for effective policymaking. The objective of this research is to develop a system for predicting the...

Full description

Saved in:
Bibliographic Details
Main Authors: Muhammad Iqbal, Rozzi Kesuma Dinata, Rizki Suwanda
Format: Article
Language:English
Published: LPPM ISB Atma Luhur 2025-07-01
Series:Jurnal Sisfokom
Subjects:
Online Access:https://jurnal.atmaluhur.ac.id/index.php/sisfokom/article/view/2396
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849254182820773888
author Muhammad Iqbal
Rozzi Kesuma Dinata
Rizki Suwanda
author_facet Muhammad Iqbal
Rozzi Kesuma Dinata
Rizki Suwanda
author_sort Muhammad Iqbal
collection DOAJ
description Rice is a strategic food commodity in Indonesia, and its price fluctuations significantly impact inflation, economic stability, and poverty levels. Accurate price prediction is, therefore, essential for effective policymaking. The objective of this research is to develop a system for predicting the price of rice in Lhokseumawe City, employing a comparison of the accuracy of linear and polynomial regression models. To this end, daily price data from the Strategic Food Price Information Center (PIHPS) from 2020 to 2024 were utilized, with both models being implemented in Python. The findings indicate that 4th-order polynomial regression exhibited optimal performance, attaining a mean absolute percentage error (MAPE) of 1.85%, a mean absolute error (MAE) of 205.23, and a root mean squared error (RMSE) of 284.88. Conversely, the implementation of linear regression resulted in substantially elevated error metrics, with a mean absolute percentage error (MAPE) of 5.16%, a mean absolute error (MAE) of 553.91, and a root mean square error (RMSE) of 614.14. The findings indicate that 4th-order polynomial regression is a substantially more effective model for predicting rice prices in Lhokseumawe. The latter's superiority suggests that local rice price dynamics are characterized by significant non-linear patterns, rendering it a more robust tool for capturing data volatility and supporting data-driven policy.
format Article
id doaj-art-de9204bbd9f74fffa12f564dd844ff9b
institution Kabale University
issn 2301-7988
2581-0588
language English
publishDate 2025-07-01
publisher LPPM ISB Atma Luhur
record_format Article
series Jurnal Sisfokom
spelling doaj-art-de9204bbd9f74fffa12f564dd844ff9b2025-08-20T03:56:05ZengLPPM ISB Atma LuhurJurnal Sisfokom2301-79882581-05882025-07-0114338739410.32736/sisfokom.v14i3.23962059Comparison of Linear Regression and Polynomial Regression for Predicting Rice Prices in Lhokseumawe CityMuhammad Iqbal0Rozzi Kesuma Dinata1Rizki Suwanda2Malikussaleh UniversityMalikussaleh UniversityMalikussaleh UniversityRice is a strategic food commodity in Indonesia, and its price fluctuations significantly impact inflation, economic stability, and poverty levels. Accurate price prediction is, therefore, essential for effective policymaking. The objective of this research is to develop a system for predicting the price of rice in Lhokseumawe City, employing a comparison of the accuracy of linear and polynomial regression models. To this end, daily price data from the Strategic Food Price Information Center (PIHPS) from 2020 to 2024 were utilized, with both models being implemented in Python. The findings indicate that 4th-order polynomial regression exhibited optimal performance, attaining a mean absolute percentage error (MAPE) of 1.85%, a mean absolute error (MAE) of 205.23, and a root mean squared error (RMSE) of 284.88. Conversely, the implementation of linear regression resulted in substantially elevated error metrics, with a mean absolute percentage error (MAPE) of 5.16%, a mean absolute error (MAE) of 553.91, and a root mean square error (RMSE) of 614.14. The findings indicate that 4th-order polynomial regression is a substantially more effective model for predicting rice prices in Lhokseumawe. The latter's superiority suggests that local rice price dynamics are characterized by significant non-linear patterns, rendering it a more robust tool for capturing data volatility and supporting data-driven policy.https://jurnal.atmaluhur.ac.id/index.php/sisfokom/article/view/2396rice pricepredictionlinear regressionpolynomial regression
spellingShingle Muhammad Iqbal
Rozzi Kesuma Dinata
Rizki Suwanda
Comparison of Linear Regression and Polynomial Regression for Predicting Rice Prices in Lhokseumawe City
Jurnal Sisfokom
rice price
prediction
linear regression
polynomial regression
title Comparison of Linear Regression and Polynomial Regression for Predicting Rice Prices in Lhokseumawe City
title_full Comparison of Linear Regression and Polynomial Regression for Predicting Rice Prices in Lhokseumawe City
title_fullStr Comparison of Linear Regression and Polynomial Regression for Predicting Rice Prices in Lhokseumawe City
title_full_unstemmed Comparison of Linear Regression and Polynomial Regression for Predicting Rice Prices in Lhokseumawe City
title_short Comparison of Linear Regression and Polynomial Regression for Predicting Rice Prices in Lhokseumawe City
title_sort comparison of linear regression and polynomial regression for predicting rice prices in lhokseumawe city
topic rice price
prediction
linear regression
polynomial regression
url https://jurnal.atmaluhur.ac.id/index.php/sisfokom/article/view/2396
work_keys_str_mv AT muhammadiqbal comparisonoflinearregressionandpolynomialregressionforpredictingricepricesinlhokseumawecity
AT rozzikesumadinata comparisonoflinearregressionandpolynomialregressionforpredictingricepricesinlhokseumawecity
AT rizkisuwanda comparisonoflinearregressionandpolynomialregressionforpredictingricepricesinlhokseumawecity