edoc

Text as signal. A tutorial with case studies focusing on social media (Twitter)

Mayor, Eric and Bietti, Lucas. M. and Canales-Rodríguez, Erick. J.. (2022) Text as signal. A tutorial with case studies focusing on social media (Twitter). Behavior Research Methods.

[img] PDF - Published Version
Available under License CC BY (Attribution).

2939Kb

Official URL: https://edoc.unibas.ch/91095/

Downloads: Statistics Overview

Abstract

Sentiment analysis is the automated coding of emotions expressed in text. Sentiment analysis and other types of analyses focusing on the automatic coding of textual documents are increasingly popular in psychology and computer science. However, the potential of treating automatically coded text collected with regular sampling intervals as a signal is currently overlooked. We use the phrase "text as signal" to refer to the application of signal processing techniques to coded textual documents sampled with regularity. In order to illustrate the potential of treating text as signal, we introduce the reader to a variety of such techniques in a tutorial with two case studies in the realm of social media analysis. First, we apply finite response impulse filtering to emotion-coded tweets posted during the US Election Week of 2020 and discuss the visualization of the resulting variation in the filtered signal. We use changepoint detection to highlight the important changes in the emotional signals. Then we examine data interpolation, analysis of periodicity via the fast Fourier transform (FFT), and FFT filtering to personal value-coded tweets from November 2019 to October 2020 and link the variation in the filtered signal to some of the epoch-defining events occurring during this period. Finally, we use block bootstrapping to estimate the variability/uncertainty in the resulting filtered signals. After working through the tutorial, the readers will understand the basics of signal processing to analyze regularly sampled coded text.
Faculties and Departments:07 Faculty of Psychology > Departement Psychologie > Health & Intervention > Klinische Psychologie und Epidemiologie (Lieb)
UniBasel Contributors:Mayor, Eric Marcel
Item Type:Article, refereed
Article Subtype:Research Article
Publisher:Springer
ISSN:1554-351X
e-ISSN:1554-3528
Note:Publication type according to Uni Basel Research Database: Journal article
Language:English
Related URLs:
Identification Number:
edoc DOI:
Last Modified:09 Dec 2022 13:04
Deposited On:08 Dec 2022 14:20

Repository Staff Only: item control page