Jurnal Ilmu Komputer dan Teknologi Informasi
Vol. 4 No. 1 (2027): Januari

Analisis Data Persediaan dan Penjualan Produk Dengan Regresi Linear Sederhana

Martianova Lusia Sihombing (Universitas Methodist Indonesia)
Ruth Theresya Sinaga (Universitas Methodist Indonesia)
Sintia Berliana Purba (Universitas Methodist Indonesia)
Antonius Niko Lumban Gaol (Universitas Methodist Indonesia)
Indra M Sarkis (Universitas Methodist Indonesia)



Article Info

Publish Date
27 Jan 2027

Abstract

Inventory management is a crucial aspect of retail operations, particularly for perishable commodities such as meat, which are vulnerable to stockouts and overstocks. This study analyzes the relationship between inventory levels (StockQuantity) as the independent variable and sales volume (UnitsSold) as the dependent variable using the Simple Linear Regression method. Data were obtained from the Kaggle Supermarket Inventory Dataset, focusing on five meat subcategories (Beef, Chicken, Fish, Lamb, and Pork) aggregated monthly over a six-month period (  per subcategory). Preprocessing, modeling, and evaluation were conducted using Python (scikit-learn) based on the coefficient of determination ( ) and Root Mean Square Error (RMSE). The results demonstrate a strong positive relationship for Pork ( ; ), Fish ( ), and Beef ( ), and a moderate relationship for Lamb ( ). Conversely, Chicken exhibits a very weak explanatory relationship ( ; ) with a negative regression coefficient, indicating that variations in chicken sales can hardly be explained solely by inventory volume. These findings demonstrate that aggregating all product variants into a single general model risks reducing analytical accuracy; therefore, subcategory-specific modeling is required to support retail stock procurement strategies.

Copyrights © 2027






Journal Info

Abbrev

jikti

Publisher

Subject

Computer Science & IT

Description

Welcome to the Jurnal Ilmu Komputer dan Teknologi Informasi! Jurnal Ilmu Komputer dan Teknologi Informasi is a scientific publication that focuses on the latest research in the fields of computer science and information technology. This journal presents high-quality articles covering a variety of ...