EconPapers    
Economics at your fingertips  
 

A sentiment-based approach to predict energy price volatility using distilRoBERTa and GARCH models

Bich Ngoc Nguyen

Energy Economics, 2025, vol. 149, issue C

Abstract: Previous studies have extensively examined the impact of information on short-term energy price fluctuations, using various forms to extract sentiment, such as search volume and news headlines. However, the influence of social media data on energy prices has received little attention. Therefore, we extend the existing literature by using tweets to analyze the impact of social media on the change in energy prices. Furthermore, we propose a new approach to classify text data using the distilRoBERTa fill-mask task, which provides direct predictions of classification keywords, rather than manually categorizing them as the traditional classification task does. The sentiment volatility then shows a significant impact on the volatility of the crude oil and natural gas prices, although an asymmetric effect is only observed for WTI crude oil. Our findings also indicate that the exponential GARCH model offers the best fit for energy price returns and sentiment volatility. In general, incorporating sentiment volatility enhances the performance of modeling the short-term volatility of crude oil and natural gas prices and suggests that social media seem to impact the uncertainty level and the expectation of customers and investors regarding energy prices.

Keywords: Sentiment; Machine learning; Price volatility; GARCH; Mask language model (search for similar items in EconPapers)
JEL-codes: C22 Q47 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:

Downloads: (external link)
http://www.sciencedirect.com/science/article/pii/S0140988325004736
Full text for ScienceDirect subscribers only

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:eee:eneeco:v:149:y:2025:i:c:s0140988325004736

DOI: 10.1016/j.eneco.2025.108646

Access Statistics for this article

Energy Economics is currently edited by R. S. J. Tol, Beng Ang, Lance Bachmeier, Perry Sadorsky, Ugur Soytas and J. P. Weyant

More articles in Energy Economics from Elsevier
Bibliographic data for series maintained by Catherine Liu ().

 
Page updated 2025-09-09
Handle: RePEc:eee:eneeco:v:149:y:2025:i:c:s0140988325004736