Comparing Best Subset and Lasso Regression in the Customer Loyalty Prediction in a Restaurant Dataset

Aulia Anggitanniradi, Weksi Budiaji, Juwarin Pancawati, Sri Mulyati

Abstract


Independent variables such as attributes related to the product, service quality, and purchase satisfaction are often correlated with one another in a customer loyalty research case. For instance, product attributes may overlap with service quality, and both factors jointly influence purchase decisions. To address multicollinearity, models such as best subset and Lasso regression can be employed. These models will be applied to a restaurant customer loyalty dataset. This study was conducted at Warung Tuman Restaurant in South Tangerang, Indonesia, from April to June 2022. We analyze responses from 100 purposively sampled consumers, with loyalty as the dependent variable and  (product attributes),  (service quality), and  (purchase satisfaction) as predictors. Correlation analysis revealed strong positive relationships (r = 0.44, p < 0.00) among predictors, confirming multicollinearity and justifying the use of best-subset and Lasso. The dataset was split into a 60% training set and a 40% test set, with the training set used to develop predictive models, which were then evaluated for accuracy using the test set. All correlation values demonstrate a significant positive relationship between the independent variables, indicating the suitability of the best subset and Lasso regression applications. The best subset and Lasso regression generate models with two independent predictor variables, i.e. product attributes and purchase satisfaction. The best subset regression exhibits a lower Sum of Squared Errors (SSE), thereby indicating its superior performance compared to the Lasso regression model. To effectively sustain and improve customer loyalty, restaurant managers should prioritize optimizing product attributes and purchase satisfaction factors.

Keywords


Best subset; Lasso; Regression; Customer loyalty

Full Text:

PDF

References


J. Hair, W. Black, B. Babin, and R. Anderson, Multivariate data analysis. Pearson Education, 2009.

M. Hofman, C. Gatu, E. Kontoghiorghes, A. Colubi, and A. Zeileis, “lmSubsets: Exact Variable-Subset Selection in Linear Regression for R,” J. Stat. Softw., vol. 93, no. 3, pp. 1–21, 2020, doi: https://doi.org/10.18637/jss.v093.i03.

J. Seedorff and J. Cavanaugh, “Assessing Variable Importance for Best Subset Selection,” Entropy, vol. 26, no. 9, p. 801, 2024, doi: https://doi.org/10.3390/e26090801.

T. Hastie, R. Tibshirani, and J. Friedman, The elements of statistical learning: Data mining, inference, and prediction, 2nd ed. Springer, 2009.

D. Zhou, R. Chahal, I. Gotlib, and S. Liu, “Comparison of Lasso and Stepwise Regression in Psychological Data,” Methodology, vol. 20, no. 2, pp. 121–143, 2024.

S. Molinillo, R. Aguilar-Illescas, R. Anaya-Sánchez, and E. Carvajal-Trujillo, “The customer retail app experience: Implications for customer loyalty,” J. Retail. Consum. Serv., vol. 65, p. 102842, 2022.

W. Budiaji, “Skala Pengukuran dan Jumlah Respon Skala Likert,” J. Ilmu Pertan. Dan Perikan., vol. 2, no. 2, pp. 125–131, 2013.

D. Bertsimas, A. King, and R. Mazumder, “Best subset selection via a modern optimization lens,” Ann. Stat., vol. 44, no. 2, 2016.

G. Brooks, “Best-Subset Selection Criteria for Multiple Linear Regression,” Gen. Linear Model J., vol. 42, no. 2, 2016.

A. Pak, A. Rad, M. Nematollahi, and M. Mahmoudi, “Application of the Lasso regularisation technique in mitigating overfitting in air quality prediction models,” Sci. Rep., vol. 15, p. 547, 2025, doi: https://doi.org/10.1038/s41598-024-84342-y.

R. Setiawati and I. Bernarto, “Effects of Service Quality, Food Quality, and Price Fairness Customer Satisfaction at Japanese restaurant 3 Wise Monkeys, Jakarta,” Bp. Int. Res. Crit. Inst.-J. BIRCI-J., vol. 5, no. 2, pp. 8921–8934, 2022.

A. Salsabillah, H. Khoirullah, and F. Mustikasari, “Product Quality, Service Quality, Price, and Location Influence Towards Coffee Shop Customer’s Satisfaction,” Manag. Stud. Entrep. J., vol. 5, no. 1, 2024.

M. Risal and M. Aqsa, “Consumer Loyalty as Impact of Marketing Mix and Customer Satisfaction,” MIMBAR, vol. 7, no. 2, pp. 297–304, 2021.

A. Española, A. Janaban, and E. Martir, “Restaurants’ Attributes Customers’ Satisfaction and Loyalty,” Int. J. Sci. Manag. Stud. IJSMS, vol. 7, no. 2, 2024, doi: 10.51386/25815946/ijsms-v7i2p123.




DOI: http://dx.doi.org/10.62870/tjs.v1i1.31171

Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Aulia Anggitanniradi, Weksi Budiaji, Pancawati Juwarin, Sri Mulyati

This work is licensed under Creative Commons Attribution 4.0 International

BRI303

BRI303

BRI303

BRI303

BRI303

BRI303

BRI303

BRI303

BRI303