{"title":"Moving Average untuk Prediksi Harga Saham dengan Linear Regression","authors":"Luis Alpianto, Aditiya Hermawan, None Junaedi","doi":"10.24002/jbi.v14i02.7446","DOIUrl":null,"url":null,"abstract":"Stocks as investment instruments in the capital market can provide benefits in capital gains but also have the risk of capital loss. Analysis and forecasting methods are needed to support investors. To achieve this, historical data and moving averages are used to reduce short-term random fluctuations in stock prices, and a linear regression algorithm to obtain accurate results by reducing the error rate and Mean Squared Error (MSE) value. The evaluation results show good accuracy with a strong correlation and a low Mean Absolute Percent Error (MAPE) value. In addition, testing on historical data is carried out to test the model and generate significant profits based on predictions from the model. According to the findings derived from the assessment, predicting stocks using the moving average and linear regression methods can help investors gain profits and reduce risk.","PeriodicalId":499081,"journal":{"name":"Jurnal Buana Informatika","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Jurnal Buana Informatika","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.24002/jbi.v14i02.7446","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Stocks as investment instruments in the capital market can provide benefits in capital gains but also have the risk of capital loss. Analysis and forecasting methods are needed to support investors. To achieve this, historical data and moving averages are used to reduce short-term random fluctuations in stock prices, and a linear regression algorithm to obtain accurate results by reducing the error rate and Mean Squared Error (MSE) value. The evaluation results show good accuracy with a strong correlation and a low Mean Absolute Percent Error (MAPE) value. In addition, testing on historical data is carried out to test the model and generate significant profits based on predictions from the model. According to the findings derived from the assessment, predicting stocks using the moving average and linear regression methods can help investors gain profits and reduce risk.