Stock Price Prediction using Linear Regression based on Sentiment Analysis

被引:0
|
作者
Cakra, Yahya Eru [1 ]
Trisedya, Bayu Distiawan [1 ]
机构
[1] Univ Indonesia, Fac Comp Sci, Depok, Indonesia
关键词
linear regression; sentiment analysis; stock price; supervised learning; Twitter;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Stock price prediction is a difficult task, since it very depending on the demand of the stock, and there is no certain variable that can precisely predict the demand of one stock each day. However, Efficient Market Hypothesis (EMH) said that stock price also depends on new information significantly. One of many information sources is people's opinion in social media. People's opinion about products from certain companies may determine the company's reputation and thus affecting people's decision to buy the stock of the company. When using opinion as primary data, it is necessary to make a suitable analysis of it. A famous example using opinion as data is sentiment analysis. Sentiment analysis is a process to determine emotion/feeling within people opinion about something, in this case products of some companies. There are some researches about sentiment analysis used to predict the stock prices. Bollen on his research concludes that people opinion on social media such as Twitter can predict DJIA value with 87.6% accuracy. This shows that there is a relation between sentiment analysis and stock prices. Our purpose on this research is to predict the Indonesian stock market using simple sentiment analysis. Naive Bayes and Random Forest algorithm are used to classify tweet to calculate sentiment regarding a company. The results of sentiment analysis are used to predict the company stock price. We use linear regression method to build the prediction model. Our experiment shows that prediction models using previous stock price and hybrid feature as predictor gives the best prediction with 0.9989 and 0.9983 coefficient of determination.
引用
收藏
页码:147 / 153
页数:7
相关论文
共 50 条
  • [1] Stock Price Prediction Using Sentiment Analysis
    Sidogi, Thendo
    Mbuvha, Rendani
    Marwala, Tshilidzi
    [J]. 2021 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS (SMC), 2021, : 46 - 51
  • [2] Stock Price Prediction Using News Sentiment Analysis
    Mohan, Saloni
    Mullapudi, Sahitya
    Sammeta, Sudheer
    Vijayvergia, Parag
    Anastasiu, David C.
    [J]. 2019 IEEE FIFTH INTERNATIONAL CONFERENCE ON BIG DATA COMPUTING SERVICE AND APPLICATIONS (IEEE BIGDATASERVICE 2019), 2019, : 205 - 208
  • [3] Sentiment Analysis for Stock Price Prediction
    Gupta, Rubi
    Chen, Min
    [J]. THIRD INTERNATIONAL CONFERENCE ON MULTIMEDIA INFORMATION PROCESSING AND RETRIEVAL (MIPR 2020), 2020, : 213 - 218
  • [4] Stock Price Prediction Using Optimal Network Based Twitter Sentiment Analysis
    Kumar, Singamaneni Kranthi
    Akeji, Alhassan Alolo Abdul-Rasheed
    Mithun, Tiruvedula
    Ambika, M.
    Jabasheela, L.
    Walia, Ranjan
    Sakthi, U.
    [J]. INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2022, 33 (02): : 1217 - 1227
  • [5] Stock closing price prediction based on sentiment analysis and LSTM
    Jin, Zhigang
    Yang, Yang
    Liu, Yuhong
    [J]. NEURAL COMPUTING & APPLICATIONS, 2020, 32 (13): : 9713 - 9729
  • [6] Stock closing price prediction based on sentiment analysis and LSTM
    Zhigang Jin
    Yang Yang
    Yuhong Liu
    [J]. Neural Computing and Applications, 2020, 32 : 9713 - 9729
  • [7] Time Series with Sentiment Analysis for Stock Price Prediction
    Sharma, Vrishabh
    Khemnar, Rajgauri
    Kumari, Renu
    Mohan, Biju R.
    [J]. 2019 2ND INTERNATIONAL CONFERENCE ON INTELLIGENT COMMUNICATION AND COMPUTATIONAL TECHNIQUES (ICCT), 2019, : 178 - 181
  • [8] Sentiment analysis on stock social media for stock price movement prediction
    Derakhshan, Ali
    Beigy, Hamid
    [J]. ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2019, 85 : 569 - 578
  • [9] Combining technical analysis with sentiment analysis for stock price prediction
    Faculty of Science and Technology, Keio University, 3-14-1, Hiyoshi, Kohoku-ku, Yokohama 223-8522, Japan
    [J]. Proc. - IEEE Int. Conf. Dependable, Autonomic Secure Comput., DASC, (800-807):
  • [10] Stock Price Movement Prediction Using Sentiment Analysis and CandleStick Chart Representation
    Ho, Trang-Thi
    Huang, Yennun
    [J]. SENSORS, 2021, 21 (23)