Abstract

An investment is the placement of a current amount of funds in the hope of generating a profit in the future. There are several types of investments, including stocks, which are attractive options as they can bring a huge return to investors. However, rapidly fluctuating stock prices are influenced by various factors, such as company performance, interest rates, economic conditions, and government policies. In Indonesia, PT Bank Rakyat Indonesia Tbk (BBRI) had the largest profit among the 10 largest banks by the end of March 2024, with a profit of IDR 13.8 trillion. The higher the bank's return, the greater the investor's interest in purchasing the stock, influencing the stock price. The goal of stock price prediction is to forecast the stock's future price in order to increase investors' potential profits. Various methods, such as Linear Regression, Decision Tree, and Gradient Boosting, have been developed for stock price prediction. Comparative analysis is needed to determine the most accurate method in predicting the stock price of People's Bank of Indonesia, using Mean Absolute Error (MAE), Mean Absolute Percentage Error (MAPE), Root Mean Squared Error (RMSE), and R-squared metrics (R2). The analysis showed that Linear Regression achieved the highest accuracy with R2 of 0.96, MAE of 65.72 and RMSE of 86.74 compared to the Decision Tree and Gradient Boosting models.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.