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