Comparative Analysis of Machine Learning Algorithms in Predicting Jumps in Stock Closing Price: Case Study of Iran Khodro Using NearMiss and SMOTE Approaches
Volume 9, Issue 3, 2025, Pages 27-54
https://doi.org/10.66224/ijf.2025.491324.1496
Ahmad Jafarnejad, Arman Rezasoltani, Amir Mohammad Khani
Abstract Predicting stock price fluctuations has always been one of the most important financial challenges due to the complexities of financial data and nonlinear market behavior. This research aimed to analyze and compare the performance of machine learning algorithms in predicting the closing price jump of Iran Khodro Company shares. Two different methods of managing unbalanced data, NearMiss and SMOTE, were used to overcome the challenge of unbalanced data. The results showed that the NearMiss method outperformed SMOTE by balancing precision and recall in machine learning models. The CatBoost model was recognized as the best machine learning model in this study due to its stable performance in NearMiss and SMOTE methods. The CatBoost model showed a perfect balance between evaluation indicators in the NearMiss method, with an accuracy of 91.46% and an F1 score of 91.29%. This model also had high precision (93.18%) and acceptable recall (89.52%), which showed the ability to detect jumps and avoid wrong predictions correctly. On the other hand, in the SMOTE method, the Random Forest model was superior, with an accuracy of 85.08%. These results show that a combination of unbalanced data management methods and advanced machine learning algorithms can significantly improve the accuracy of price volatility prediction. The results of this research can help investors and financial analysts make better decisions in risk management and optimizing investment strategies.
Tehran Stock Exchange, Stocks Price Prediction, Using Wisdom of Crowd
Volume 7, Issue 4, 2023, Pages 1-28
https://doi.org/10.61186/ijf.2023.382999.1397
Babak Sohrabi, Saeed Rouhani, Hamid Reza Yazdani, Ahmad Khalili Jafarabad, Mahsima Kazemi Movahed
Abstract Two predominant methods for analyzing financial markets have been technical and fundamental analysis. However, the emergence of the Internet has altered the trading landscape. The availability of Internet and social media access plays a moderating role in information asymmetry, resulting in investors making informed decisions. Social media has turned into a source of information for investors. Through diverse communication channels on social media, investors articulate their perspectives on whether to buy or sell a stock. According to Surowiecki, the collective opinions gathered through social media frequently offer better predictions than individual opinions, a phenomenon referred to as the Wisdom of the Crowd. The wisdom of the crowd stands as an essential measure within social networks, with its potential to reduce errors and lessen information-gathering costs. In this study, we tried to evaluate the wisdom of the crowd's potential to improve stock price prediction accuracy. So, we developed a prediction model by Long Short-Term Memory based on the wisdom of the crowd. Users’ opinions in Persian about the Tehran Stock Exchange (TSE) stocks were collected from SAHMETO for eight months. The Support Vector Machine classified them into buy, sell, and neutral classes. During the research period, people mentioned 823 stocks, and 52 stocks with over 100 signals were chosen. The results of the study show that although the model presented has achieved an acceptable level of accuracy, correlations between the actual and predicted values exceeded 90%. The accuracy metrics of the proposed model compared to the base model were not improved.
Identification of the Factors Affecting Capital Structure in Firms with Emphasis on the Role of Behavioral Factors
Volume 7, Issue 4, 2023, Pages 29-58
https://doi.org/10.61186/ijf.2023.397005.1412
Ehsan Ahmadi, Parastoo Mohammadi, Farimah Mokhatab Rafei
Abstract Making decisions regarding capital structure is among the most challenging issues ahead for firms and the most critical decisions for their survival. On the other hand, several significant aspects, such as behavioral factors, have been overlooked in this field. Thus, the present study mainly seeks to identify the factors affecting capital structure in Iranian firms, emphasizing the role of behavioral factors. The present study employs mixed qualitative and quantitative research methods. From the qualitative point of view, capital market experts were inquired, and theoretical saturation was achieved using the snowball method. After the interviews, research components were extracted through coding. The opinions of a group of experts and managers of firms listed on the Tehran Stock Exchange were used in the quantitative section, and a structural equation form was used to perform confirmatory factor analysis on the research model. A total of 63 concepts in the form of six categories were identified at the first stage, which was reduced to 58 in the form of six categories and was confirmed after the concepts were sent back to the experts. The principal components included behavioral factors, macroeconomic factors, political factors, socio-cultural factors, firm features, and corporate governance. Results were validated through factor analysis in the quantitative portion of the study. The present study can be considered among the comprehensive studies at the construct level with an integrated approach to firms' capital structure. The emergence of behavioral finance resulted from understanding the importance of measuring human behavior as a factor with transcendent consequences for financial decisions. Hence, most behavioral finance studies are focused on observable behaviors. However, the item response theory presents an integrated method for disciplines that work with cognitive variables. Accepting opportunities for new knowledge is essential for firm decisions to respond to the mental views of financial managers.
The present study sought to identify the factors influencing firms' capital structure in Iran. The tool used in the present study reflected the elements making up the capital structure. In this regard, the notable point is how the classic criterion of structural capital components can explain financial managers' perception of decision-making. The research results in this area are interesting since we have confirmed a capital structure theory at the construct level. The conformity of the results and the obtained reliability levels indicate that this theory fits the given dimensions well. Moreover, relevant evidence indicates that senior financial managers adopt various states considering internal and external factors at the structural level, which can cause cognitive bias in decision-making.