A Proposal for a New Python Library Implementing Stepwise Procedure
Carefully selecting variables in problems with large volumes of data are extremely important, as it reduces the complexity of the model, improves the interpretation of the results, and increases computational efficiency, ensuring more accurate and relevant analyses. This paper presents a comprehensive approach to selecting variables in multiple regression models using the stepwise procedure. As the main contribution of this study, we present the stepwise function implemented in Python to improve the effectiveness of statistical analyses, allowing the intuitive and efficient selection of statistically significant variables. The application of the function is exemplified in a real case study of real estate pricing, validating its effectiveness in improving the fit of regression models. In addition, we presented a methodological framework for treating joint problems in data analysis, such as heteroskedasticity, multicollinearity, and nonadherence of residues to normality. This framework offers a robust computational implementation to mitigate such issues. This study aims to advance the understanding and application of statistical methods in Python, providing valuable tools for researchers, students, and professionals from various areas.
Authors
- Igor Pınheıro de Araújo Costa (ORCID: https://orcid.org/0000-0001-9892-6327)
- Patrícia Belfiore (ORCID: https://orcid.org/0000-0002-8326-142X)
- Adilson Vilarinho Terra (ORCID: https://orcid.org/0000-0002-7426-3976)
- Marcos dos Santos (ORCID: https://orcid.org/0000-0003-1533-5535)
- Miguel Ângelo Lellis Moreira (ORCID: https://orcid.org/0000-0002-5179-1047)
- Luíz Paulo Lopes Fávero (ORCID: https://orcid.org/0000-0001-8516-6701)
- Helder Prado Santos
- Wilson Tarantin (ORCID: https://orcid.org/0009-0006-1876-5695)
- Alexandre Duarte (ORCID: https://orcid.org/0009-0002-5067-4102)
Institutions
- Universidade Federal Fluminense (BR)
- Universidade de São Paulo (BR)
- Military Institute of Engineering (BR)
- Universidade Federal do ABC (BR)
Publication Details
- Journal
- Algorithms
- Published
- 2024-11-04
- DOI
- https://doi.org/10.3390/a17110502
- Citations
- 3
- Primary Topic
- Big Data and Business Intelligence
- Type
- article
- Field-Weighted Citation Impact
- 1.59