JOURNAL ARTICLE

Comparison Random Forest Regression and Linear Regression For Forecasting BBCA Stock Price

Arif Mudi PriyatnoLailatul Syifa TanjungWahyu Febri RamadhanPutri CholidhaziaPutri Zulia JatiFahmi Iqbal Firmananda

Year: 2023 Journal:   Jurnal Teknik Industri Terintegrasi Vol: 6 (3)Pages: 718-732   Publisher: Universitas Pahlawan Tuanku Tambusai

Abstract

Stock trading is a popular financial instrument worldwide. In Indonesia, the stock market is known as the Indonesia Stock Exchange (BEI), and one actively traded stock is PT Bank Central Asia (BBCA). However, predicting stock price movements is challenging due to various influencing factors. Investors use fundamental and technical analyses for decision-making, but results often vary. Machine learning, particularly random forest regression and linear regression algorithms, can be used for stock price forecasting. In this paper, we compares these two machine learning methods to forecast BBCA stock prices, aiming to provide more accurate and effective solutions for investor's investment and trading decisions. The evaluation results of cross-validation mean squared error (MSE), root mean squared error (RMSE), mean absolute error (MAE), and mean absolute percentage error (MAPE) for linear regression were 0.12848, 0.35807, 0.29570, and 0.0036%, respectively, while for random forest regression were 27473.76, 158.04, 142.70, and 1.7153%. These findings indicate that linear regression outperforms in forecasting performance.

Keywords:
Mean absolute percentage error Random forest Econometrics Mean squared error Linear regression Stock exchange Regression Stock (firearms) Statistics Regression analysis Economics Mathematics Computer science Finance Artificial intelligence Geography

Metrics

4
Cited By
1.29
FWCI (Field Weighted Citation Impact)
32
Refs
0.81
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Stock Market Forecasting Methods
Social Sciences →  Decision Sciences →  Management Science and Operations Research
Data Mining and Machine Learning Applications
Physical Sciences →  Computer Science →  Information Systems

Related Documents

JOURNAL ARTICLE

BBCA Stock Price Prediction Using Linear Regression Method

Shannon Dominique SaputraAlbertus Dwiyoga Widiantoro

Journal:   International Journal of Artificial Intelligence and Science Year: 2024 Vol: 1 (1)Pages: 25-36
JOURNAL ARTICLE

Predicting Twitter stock price using linear regression, random forest, and MLP regression

Ziyu Huang

Journal:   Theoretical and Natural Science Year: 2024 Vol: 30 (1)Pages: 159-164
JOURNAL ARTICLE

Predicting BMW Stock Price Based on Linear Regression, LSTM, and Random Forest Regression

Sijian Tao

Journal:   BCP Business & Management Year: 2023 Vol: 38 Pages: 335-340
JOURNAL ARTICLE

STOCK PRICE PREDICTION USING RANDOM FOREST REGRESSION

Journal:   International Research Journal of Modernization in Engineering Technology and Science Year: 2023
© 2026 ScienceGate Book Chapters — All rights reserved.