IDEAS home Printed from https://ideas.repec.org/h/spr/isochp/978-3-030-87019-5_12.html
   My bibliography  Save this book chapter

Sentiment Analysis for COVID Vaccinations Using Twitter: Text Clustering of Positive and Negative Sentiments

In: Decision Sciences for COVID-19

Author

Listed:
  • Dwijendra Nath Dwivedi

    (Krakow University of Economics)

  • Shailendra Pathak

    (IGIDR)

Abstract

The objective of the chapter is to analyze Twitter data to extract sentiments and opinions in unstructured text. The team attempted to use contextual text analytics to categorize Twitter data to understand the positive or negative sentiments for COVID vaccinations and wish to highlight key concerns. Text clustering has been performed on positive and negative sentiments to understand the key themes behind them. We followed a two-step process. In the first step, we identified positive and negative sentiments from Twitter feeds. In the second step, we aggregated all sentiments into categories to deduce what the Twitterati is thinking about COVID-19 vaccinations. The whole analysis was performed using Python, including TextBlob and Vader libraries. TextBlob library uses the Naïve-Bayes (probabilistic algorithms using Bayes’s Theorem to predict the category of a text) classifier to assess the polarity of a sentence and generates a score ranging between −1 (strongly negative) and +1 (strongly positive). The Naïve Bayes classifier categorizes based on probabilities of events. Although it is a simple algorithm, it performs well in many text classification problems. On the other hand, the Vader library uses a lexical approach that uses preassigned scores labeled positive and negative for different words found in a text. These scores are based on pre-trained models classified as positive/negative by actual human beings. We then performed the topic extraction that discovers the keywords in sentiments that capture the recurring theme of a text and is widely used to analyze large sets of sentiments to identify the most common topics easily and efficiently. We found a large segment as neutral (53%) followed by a positive sentiment segment that contributed 36% of tweets. However, at the same time, many people (10%+) remain on the fence regarding the potential repercussions of COVID vaccines as they are relatively new and yet untested over longer periods of time. It is reasonable to expect that people are a bit skeptical about vaccinations. Text clustering of negative sentiments identified late vaccinations and side effects being the key concerns. Positive sentiments mainly were driven by the readiness of other vaccines and weak reactions following vaccinations. The study contributes to text mining literature by providing a framework for analyzing public sentiments. This can help to understand the key themes in negative sentiments related to COVID vaccinations and can help in adjusting policies.

Suggested Citation

  • Dwijendra Nath Dwivedi & Shailendra Pathak, 2022. "Sentiment Analysis for COVID Vaccinations Using Twitter: Text Clustering of Positive and Negative Sentiments," International Series in Operations Research & Management Science, in: Said Ali Hassan & Ali Wagdy Mohamed & Khalid Abdulaziz Alnowibet (ed.), Decision Sciences for COVID-19, chapter 0, pages 195-203, Springer.
  • Handle: RePEc:spr:isochp:978-3-030-87019-5_12
    DOI: 10.1007/978-3-030-87019-5_12
    as

    Download full text from publisher

    To our knowledge, this item is not available for download. To find whether it is available, there are three options:
    1. Check below whether another version of this item is available online.
    2. Check on the provider's web page whether it is in fact available.
    3. Perform a search for a similarly titled item that would be available.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:isochp:978-3-030-87019-5_12. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.