JTAM (Jurnal Teori dan Aplikasi Matematika)
Vol 10, No 4 (2026): October

Sentiment Analysis for Starbucks Stock Price Prediction Using VADER and ARIMAX

Widyanti Rahayu (Study program of Statistics, Universitas Negeri Jakarta)
Gabriel Olivia Yvonne Manurung (Study Program of Mathematics, Universitas Negeri Jakarta)
Eti Dwi Wiraningsih (Study program of Statistics, Universitas Negeri Jakarta)
Vera Maya Santi (Study Program of Mathematics, Universitas Negeri Jakarta)



Article Info

Publish Date
26 Oct 2026

Abstract

The escalation of the Israel–Palestine conflict in October 2023 generated extensive public reactions worldwide, particularly on social media platforms. On October 9, 2023, a statement supporting Palestine posted by the Starbucks Workers United union on X (Twitter) prompted legal action from Starbucks. Although the dispute was related to trademark and intellectual property issues, public interpretation associated the lawsuit with opposition to pro-Palestinian support, leading to boycott campaigns in several countries. This situation coincided with a notable decline in Starbucks’ stock performance, including an eleven-day consecutive decrease in December 2023. Given the growing influence of online discussions on financial markets, social media sentiment may provide valuable information for stock price forecasting. Using a quantitative time-series forecasting approach, this study aims to analyze public sentiment toward Starbucks associated with the boycott movement, develop an ARIMAX model incorporating sentiment as an exogenous variable for stock price forecasting, and evaluate the predictive performance of the proposed model. A total of 41,211 English-language posts containing the keyword “boycott Starbucks” were collected from X between October 2023 and December 2024, while stock market data were obtained from Yahoo Finance through the yfinance library. Sentiment classification was conducted using the VADER approach, followed by ARIMAX modeling and forecast evaluation using Mean Absolute Percentage Error (MAPE) and Mean Squared Error (MSE). The results indicate that negative sentiment dominated the discussions (54%), followed by positive (43.3%) and neutral sentiment (2.7%), with the highest activity occurring in December 2023. Based on the minimum AIC and BIC values, ARIMAX(3,0,3) was selected as the best model and satisfied all diagnostic assumptions. Forecasting for the period January 2–16, 2025 produced a MAPE of 1.97% and an MSE of 3.58, indicating high forecasting accuracy. The findings highlight the potential of incorporating social media sentiment as an external information source in ARIMAX-based stock price forecasting, particularly during periods of heightened public attention triggered by major socio-political events.

Copyrights © 2026






Journal Info

Abbrev

jtam

Publisher

Subject

Mathematics

Description

Jurnal Teori dan Aplikasi Matematika (JTAM) dikelola oleh Program Studi Pendidikan Matematika FKIP Universitas Muhammadiyah Mataram dengan ISSN (Cetak) 2597-7512 dan ISSN (Online) 2614-1175. Tim Redaksi menerima hasil penelitian, pemikiran, dan kajian tentang (1) Pengembangan metode atau model ...