A Pattern-matched Twitter Analysis of U.S. Cancer-patient Sentiments
BACKGROUND: Twitter has been recognized as an important source of organic sentiment and opinion. This study aimed to (1) characterize the content of tweets authored by the United States cancer patients; and (2) use patient tweets to compute the average happiness of cancer patients for each cancer diagnosis. METHODS: A large sample of English tweets from March 2014 through December 2014 was obtained from Twitter. Using regular expression software pattern matching, the tweets were filtered by cancer diagnosis. For each cancer-specific tweetset, individual patients were extracted, and the content of the tweet was categorized. The patients' Twitter identification numbers were used to gather all tweets for each patient, and happiness values for patient tweets were calculated using a quantitative hedonometric analysis. RESULTS: The most frequently tweeted cancers were breast (n = 15,421, 11% of total cancer tweets), lung (n = 2928, 2.0%), prostate (n = 1036, 0.7%), and colorectal (n = 773, 0.5%). Patient tweets pertained to the treatment course (n = 73, 26%), diagnosis (n = 65, 23%), and then surgery and/or biopsy (n = 42, 15%). Computed happiness values for each cancer diagnosis revealed higher average happiness values for thyroid (h_avg = 6.1625), breast (h_avg = 6.1485), and lymphoma (h_avg = 6.0977) cancers and lower average happiness values for pancreatic (h_avg = 5.8766), lung (h_avg = 5.8733), and kidney (h_avg = 5.8464) cancers. CONCLUSIONS: The study confirms that patients are expressing themselves openly on social media about their illness and that unique cancer diagnoses are correlated with varying degrees of happiness. Twitter can be employed as a tool to identify patient needs and as a means to gauge the cancer patient experience.
This publication published in Journal of Surgical Research represents peer-reviewed research in Attitude to Health, Female, Happiness directly relevant to Aimwell’s evidence intelligence infrastructure. It contributes to the FHIN network’s knowledge base on Attitude to Health and supports data-driven clinical decision making for Aimwell member organizations.
Source attribution: PubMed / NCBI · CrossRef
License: https://www.elsevier.com/tdm/userlicense/1.0/
Retrieved: May 21, 2026
This profile page was generated by AimwellBio based on publicly available research data. Publication content, authorship, and metadata are attributed to the original source publication.