An Analysis of Factors Influencing the Box Office of Movies and Optimization of the XGBoost Model for Prediction
DOI:
https://doi.org/10.61173/q9ac4q60Keywords:
Box office prediction, Machine learning, XGBoost, Film industry analyticsAbstract
Box office prediction is crucial for the film industry, but traditional models struggle to capture the non-linear relationships and interactions among factors such as budget and release timing. Recent advancements have introduced machine learning approaches, including Random Forest (RF) and Extreme Gradient Boosting (XGBoost). XGBoost the good performance due to its exceptional feature selection capability and nonlinear modeling. Based on the data of 1,313 films from 1995-2016, this study systematically compares three models – linear regression, RF, and XGBoost. By adding new features like director's film count and optimizing hyperparameters, the results show XGBoost achieves the best performance (Coefficient of Determination =0.69, Root Mean Squared Error (RMSE)=0.78, Mean Absolute Percentage Error MAPE=3.12%, Mean Absolute Error (MAE)=0.55), significantly outperforming RF and linear regression. Feature importance analysis reveals budget and the total number of audience ratings (NAR) as the most important variables, while summer releases also significantly impact revenue. Therefore, high-budget productions, enhanced audience engagement, and strategic release time can maximize box office revenue. The study shows that XGBoost works well for predicting box office success and also provides useful data to help the film industry make better decisions.
References
[1] Fiorella Mendez,Luciana Mendoza. Does the budget of a movie have an impact on income? Fort Hays States University, SACAD, 2024, 103.
[2] Max Wasserman, Satyam Mukherjee, Konner Scott, et al. Correlations between user voting data, budget, and box office for films in the internet movie database. Journal of the Association for Information Science and Technology, 2015, (66): 858–868.
[3] Lu Wenjing, Feng Xiao. Confirmation analysis of the influence factors of movie box office in the era of big data. Journal of Communication University of China Natural Science Edition, 2017, (24):41-46.
[4] Joon Wei Chen. The influence factors of global movie box office and the correlation with the stock prices of movie and TV companies. Graduate Institute of Finance and Economics, School of Management, National Taiwan University, 2024.
[5] Huang Wenqing, Lai Jiajia, Ning Qiongmin, et al. Analysis and prediction of influencing factors of movie box office. Research and Discussion on Information Technology and Informatization, 2019.
[6] Chang Yaxin. Statistical analysis of influencing factors of domestic movie box office. Star River Film & TV, 2024, (6), 211-213.
[7] Javaria Ahmad, Prakash Duraisamy, Amr Yousef, et al. Movie success prediction using data mining. university of central missouri, University of Business and Technology, University of North Texas (Eds.),2023.
[8] Subramaniyaswamy V., Viginesh Vaibhav M., Vishnu Prasad R., et al. Predicting movie box office success using Dean&Francis Yiheng Fang1, Xinyuan Zhang2, * multiple regression and SVM. Proceedings of the International Conference on Intelligent Sustainable Systems, ICISS 2017.
[9] Kaggle user Elza, Movies and directors: dataset for film analytics (Kaggle,2024), published November 2024, cited May 2025 https://creativecommons.org/publicdomain/zero/1.0/.
[10] Beijing Normal University New Media Communication Research Center. Research report on social responsibility of Chinese film and TV stars. Beijing: Beijing Normal University Press, 2019,23-25.
[11] Chen Bangli, Xu Meiping. Research on movie gross box office prediction model based on LARS-SVR. Journal of Shaanxi Normal University (Natural Science Edition), 2018, 46(1): 10- 15.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 by the authors.

This work is licensed under a Creative Commons Attribution 4.0 International License.
