Stock Price Prediction of PT. Jasa Marga (Persero) Tbk Using Linear Regression Algorithm
Abstract
The Covid-19 pandemic that has occurred throughout the world has resulted in crises in various sectors, one of which is also affecting the economic sector. This has affected the movement of the index on several stocks listed on the Indonesian Stock Exchange (IDX). During the Covid-19 pandemic, stock price movements were very random with significant increases and decreases. Therefore, it is necessary to predict stock prices that can help investors to see investment prospects in the future. In this study, stock predictions from PT Jasa Marga (Persero) Tbk will be carried out using the Linear Regression algorithm. The linear regression method is usually used to make predictions by measuring the correlation between two or more variables. Historical data on the shares of PT Jasa Marga (Persero) Tbk used in this test were obtained from finance.yahoo.com from 2017-2023. The results of this study indicate that using the linear regression algorithm can predict prices with an RMSE value of 216.379.