The R Package sentometrics to Compute, Aggregate and Predict with Textual Sentiment

Journal of Statistical Software, Vol. 99, Issue 2, pp. 1-40, 2021

40 Pages Posted: 11 Nov 2017 Last revised: 19 Aug 2021

See all articles by David Ardia

David Ardia

HEC Montreal - Department of Decision Sciences

Keven Bluteau

Université de Sherbrooke - Faculty of Administration

Samuel Borms

Vrije Universiteit Brussel; University of Neuchâtel

Kris Boudt

Ghent University; Vrije Universiteit Brussel; Vrije Universiteit Amsterdam; Sentometrics

Date Written: January 16, 2020

Abstract

We provide a hands-on introduction to optimized textual sentiment indexation using the R package sentometrics. Textual sentiment analysis is increasingly used to unlock the potential information value of textual data. The sentometrics package implements an intuitive framework to efficiently compute sentiment scores of numerous texts, to aggregate the scores into multiple time series, and to use these time series to predict other variables. The workflow of the package is illustrated with a built-in corpus of news articles from two major U.S. journals to forecast the CBOE Volatility Index.

Keywords: aggregation, penalized regression, prediction, R, sentometrics, textual sentiment, time series

JEL Classification: C10, C32, C49, C52, C87, E37

Suggested Citation

Ardia, David and Bluteau, Keven and Borms, Samuel and Boudt, Kris, The R Package sentometrics to Compute, Aggregate and Predict with Textual Sentiment (January 16, 2020). Journal of Statistical Software, Vol. 99, Issue 2, pp. 1-40, 2021, Available at SSRN: https://ssrn.com/abstract=3067734 or http://dx.doi.org/10.2139/ssrn.3067734

David Ardia

HEC Montreal - Department of Decision Sciences ( email )

3000 Côte-Sainte-Catherine Road
Montreal, QC H2S1L4
Canada

Keven Bluteau

Université de Sherbrooke - Faculty of Administration ( email )

Sherbrooke, Québec J1K 2R1
Canada

Samuel Borms (Contact Author)

Vrije Universiteit Brussel ( email )

Pleinlaan 2
http://www.vub.ac.be/
Brussels, 1050
Belgium

University of Neuchâtel

1, A.-L. Breguet
Neuchâtel, CH-2000
Switzerland

Kris Boudt

Ghent University ( email )

Sint-Pietersplein 5
Gent, 9000
Belgium

Vrije Universiteit Brussel ( email )

Pleinlaan 2
http://www.vub.ac.be/
Brussels, 1050
Belgium

Vrije Universiteit Amsterdam ( email )

De Boelelaan 1105
Amsterdam, ND North Holland 1081 HV
Netherlands

Sentometrics ( email )

Rue Saint-Quentin 5
Brussel, 1000
Belgium

Do you have a job opening that you would like to promote on SSRN?

Paper statistics

Downloads
1,479
Abstract Views
6,036
Rank
26,623
PlumX Metrics