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