Net daily sentiment ranged from -91.18 for on Sunday the 17th to 91.53 for on Saturday the 16th.
The sentiment for each tweet is scored from -1 (most negative) to +1 (most positive) using VADER sentiment analysis. Net sentiment is calculated by summing the sentiment across all tweets for a given day and/or category, then normalizing the score by the number of tweets.
Medical conditions from the MedDRA dictionary
Cognitive impairment was the most frequently observed medical condition mentioned. Delusion had the highest overall net sentiment of 56.49. Blindness, Blind had the lowest net sentiment this week (-75.78).
MedDra is a standardized medical terminology developed by the International Council for Harmonization Cross-referencing tweets against this list is a starting point for identifying medical conditions mentioned in tweets.
Cross-referencing the MedDRA dictionary by sentiment and topic
There were 58 tweets with an strong positive sentiment. The top 10 most frequent medical conditions mentioned within these tweets were (1) Dementia, (2) Fall, (3) Delusion, (4) Cognitive impairment, (5) Asthma, (6) Inflammation, (7) Stroke, (8) ADHD, (9) Aggression, Aggressiveness, (10) Agitated, Agitation. Of these terms, Asthma (n=2), Stroke (n=2), ADHD (n=1), Aggression, Aggressiveness (n=1) were not in the top 10 most frequent terms across all tweets.
There were 79 tweets with an strong negative sentiment. The top 10 most frequent medical conditions mentioned within these tweets were (1) Cognitive impairment, (2) Dementia, (3) Blindness, Blind, (4) Pain, (5) Redness, (6) Ache, (7) Agitated, Agitation, (8) Autism, (9) Choking, (10) Confused, Confusion. Of these terms, Ache (n=1), Autism (n=1), Choking (n=1), Confused, Confusion (n=1) were not in the top 10 most frequent terms across all tweets.
The 25 most important words within positive tweets (compared to negative and neutral) tweets are shown in the treemap below. The size of each box represents the weighted score of each word. The word “look” within the search for “Donepezil” had the highest overall weight. When the words are summed for each topic, Memantine had the highest overall weight.
The 25 most important words within negative tweets (compared to positive and neutral) tweets are shown in the treemap below. The word “spoken” within the search for “Aducanumab” had the highest overall weight. When the words are summed for each topic, “Aducanumab” had the highest overall weight within negative tweets.
This analysis of words evaluates the stemmed version of words using the Snowball algorithm. By stemming words, words with similar meaning, such as pain, painful & pained, are grouped together as simply “pain”.
Beta: text classification
Tweets that describe adverse events/side effects (first person point of view)
|tweet||search topic(s)||medical condition(s) mentioned|
|Had cramps bad waking up and decided to investigate side effects of donepezil, a new neuro-med I’ve been taking and found out all the bad effects related to it are exactly what I’ve experienced lately: insomnia, leg cramps, diarrhea, fatigue, nightmares…. I decided no I’ll live||donepezil||Cramp, Diarrhea, Fatigue, Insomnia, Leg cramps, Nightmare, Nightmares|
|Tried galantamine once. Its effects were bodily rather than oneiric. I noticed physical unsteadiness the next day, so I wouldn’t repeat or recommend it. I’ve had much better results with Alpha GPC. Vivid and prolonged lucidity. Side effects the next day were merely tiredness.||galantamine||Tiredness, Unsteadiness|
This classifier was trained on a set of tweets manually reviewed and tagged. The classifier was trained using GloVe, a pretrained word embedding layer.
Webpage created in R version 4.1.0 (2021-05-18) and R Studio (Version 1.4.1717) using the following packages: plotly, kableExtra, formattable, treemap, and wordpressr.
- C. Sievert. Interactive Web-Based Data Visualization with R, plotly, and shiny. Chapman and Hall/CRC Florida, 2020.
- Hao Zhu (2021). kableExtra: Construct Complex Table with ‘kable’ and Pipe Syntax. R package version 1.3.4.
- Kun Ren and Kenton Russell (2021). formattable: Create ‘Formattable’ Data Structures. R package version 0.2.1.
- Martijn Tennekes (2021). treemap: Treemap Visualization. R package version 2.4-3.
- Simit Patel (2021). wordpressr: An API Wrapper for WordPress Site APIs. R package version 0.1.0.
- Hutto, C.J. & Gilbert, E.E. (2014). VADER: A Parsimonious Rule-based Model for Sentiment Analysis of Social Media Text. Eighth International Conference on Weblogs and Social Media (ICWSM-14). Ann Arbor, MI, June 2014.