Back to Journals » Patient Preference and Adherence » Volume 15

Effective Analysis of Inpatient Satisfaction: The Random Forest Algorithm

Authors Li C, Liao C, Meng X, Chen H, Chen W, Wei B, Zhu P

Received 27 November 2020

Accepted for publication 10 March 2021

Published 7 April 2021 Volume 2021:15 Pages 691—703


Checked for plagiarism Yes

Review by Single anonymous peer review

Peer reviewer comments 3

Editor who approved publication: Dr Naifeng Liu

Chengcheng Li,1 Conghui Liao,2 Xuehui Meng,3 Honghua Chen,4 Weiling Chen,4 Bo Wei,5 Pinghua Zhu1

1School of Humanities and Social Sciences, Guangxi Medical University, Nanning, 530021, People’s Republic of China; 2School of Public Health, Sun Yat-Sen University, Guangzhou, 510080, People’s Republic of China; 3Department of Health Service Management, Humanities and Management School, Zhejiang Chinese Medical University, Hangzhou, 310000, People’s Republic of China; 4School of Basic Medicine, Guangxi Medical University, Nanning, 530021, People’s Republic of China; 5School of Information and Management, Guangxi Medical University, Nanning, 530021, People’s Republic of China

Correspondence: Pinghua Zhu Email [email protected]

Purpose: To identify the factors influencing inpatient satisfaction by fitting the optimal discriminant model.
Patients and Methods: A cross-sectional survey of inpatient satisfaction was conducted with 3888 patients in 16 large public hospitals in Zhejiang Province. Independent variables were screened by single-factor analysis, and the importance of all variables was comprehensively evaluated. The relationship between patients’ overall satisfaction and influencing factors was established, the relative risk was evaluated by marginal benefit, and the optimal model was fitted using the receiver operating characteristic curve.
Results: Patients’ overall satisfaction was 79.73%. The five most influential factors on inpatient satisfaction, in this order, were: patients’ right to know, timely nursing response, satisfaction with medical staff service, integrity of medical staff, and accuracy of diagnosis. The prediction accuracy of the random forest model was higher than that of the multiple logistic regression and naive Bayesian models.
Conclusion: Inpatient satisfaction is related to healthcare quality, diagnosis, and treatment process. Rapid identification and active improvement of the factors affecting patient satisfaction can reduce public hospital operating costs and improve patient experiences and the efficiency of health resource allocation. Public hospitals should strengthen the exchange of medical information between doctors and patients, shorten waiting time, and improve the level of medical technology, service attitude, and transparency of information disclosure.

Keywords: random forest, inpatient satisfaction, public hospitals, key influencing factors

Creative Commons License This work is published and licensed by Dove Medical Press Limited. The full terms of this license are available at and incorporate the Creative Commons Attribution - Non Commercial (unported, v3.0) License. By accessing the work you hereby accept the Terms. Non-commercial uses of the work are permitted without any further permission from Dove Medical Press Limited, provided the work is properly attributed. For permission for commercial use of this work, please see paragraphs 4.2 and 5 of our Terms.

Download Article [PDF]  View Full Text [HTML][Machine readable]