Forum for Science, Industry and Business

Sponsored by:     3M 
Search our Site:


Twitter data used to track vaccination rates and attitudes

A unique and innovative analysis of how social media can affect the spread of a disease has been designed and implemented by a scientist at Penn State University studying attitudes toward the H1N1 vaccine.

Marcel Salathé, an assistant professor of biology, studied how users of Twitter -- a popular microblogging and social-networking service -- expressed their sentiments about a new vaccine. He then tracked how the users' attitudes correlated with vaccination rates and how microbloggers with the same negative or positive feelings seemed to influence others in their social circles.

The research is considered the first case study in how social-media sites affect and reflect disease networks, and the method is expected to be repeated in the study of other diseases. The results will be published in the journal PLoS Computational Biology.

Salathé explained that he chose Twitter for two reasons. First, unlike the contents of Facebook, Twitter messages, known as "tweets," are considered public data and anyone can "follow," or track, the tweets of anyone else. "People tweet because they want other members of the public to hear what they have to say," Salathé said. Second, Twitter is the perfect database for learning about people's sentiments. "Tweets are very short -- a maximum of 140 characters," Salathé explained. "So users have to express their opinions and beliefs about a particular subject very concisely." Salathé began by amassing 477,768 tweets with vaccination-related keywords and phrases. He then tracked users' sentiments about a particular new vaccine for combating H1N1 -- a virus strain responsible for swine flu. The collection process began in August 2009, when news of the new vaccine first was made public, and continued through January 2010.

Salathé explained that sorting through the enormous number of vaccination-related tweets was no simple matter. First, he partitioned a random subset of about 10 percent and asked Penn State students to rate them as positive, negative, neutral, or irrelevant. For example, a tweet expressing a desire to get the H1N1 vaccine would be considered positive, while a tweet expressing the belief that the vaccine causes harm would be considered negative. A tweet concerning a different vaccine, for example, the Hepatitis B vaccine, would be considered irrelevant. Then, Shashank Khandelwal, a computer programmer and analyst in Penn State's Department of Biology and co-author of the paper, used the students' ratings to design a computer algorithm responsible for cataloging the remaining 90 percent of the tweets according to the sentiments they expressed. "The human-rated tweets served as a 'learning set' that we used to 'teach' the computer how to rate the tweets accurately," Salathé explained. After the tweets were analyzed by the computer algorithm, the final tally, after the irrelevant ones were eliminated, was 318,379 tweets expressing either positive, negative, or neutral sentiments about the H1N1 vaccine.

Because Twitter users often include a location in their profiles, Salathé was able to categorize the expressed sentiments by U.S. region. Also, using data from the Centers for Disease Control and Prevention (CDC), he was able to determine how vaccination attitudes correlated with CDC- estimated vaccination rates. Using these data, Salathé found definite patterns. For example, the highest positive-sentiment users were from New England, and that region also had the highest H1N1 vaccination rate. "These results could be used strategically to develop public-health initiatives," Salathé explained. "For example, targeted campaigns could be designed according to which region needs more prevention education. Such data also could be used to predict how many doses of a vaccine will be required in a particular area."

In addition, Salathé was able to construct an intricate social network by determining who followed the tweets of whom; that is, he was able to determine clusters of like-minded Twitter users. "The assumption is that people tend to communicate online almost exclusively with people who think the same way. This phenomenon creates 'echo chambers' in which dissenting opinions are not heard," Salathé said. As it turned out, that assumption was correct. Salathé found that users with either negative or positive sentiments about the H1N1 vaccine followed like-minded people. "The public-health message here is obvious," Salathé said. "If anti-vaccination communities cluster in real, geographical space, as well, then this is likely to lead to under-vaccinated communities that are at great risk of local outbreaks." He explained that, when unvaccinated individuals cluster together, herd immunity -- a population-level immunity that occurs when a critical mass has been vaccinated -- no longer affords much protection against disease. "By definition, herd immunity only works if unvaccinated, unprotected individuals are distributed sparsely throughout the population, buffered from the disease by vaccinated individuals," Salathé said. "Unfortunately, the data from Twitter seem to indicate that the buffer of protection cannot be counted on if these clusters exist in real, geographical space."

In addition to location-related and network patterns, Salathé was able to track sentiment patterns over time. For example, he found that negative expressions spiked during the time period when the vaccine was first announced. Later, more-positive sentiments emerged when the vaccine was first shipped across the United States. Salathé also tracked spikes of negative tweets that corresponded, not surprisingly, to periods of vaccine recall.

Salathé plans to use his unique social-media analysis to study other diseases, such as obesity, hypertension, and heart disease. "We think of a disease such as obesity as noninfectious, while a disease such as the flu is clearly infectious. However, it might be more useful to think of behavior-influenced diseases as infectious, as well," Salathé said. "Lifestyle choices might be 'picked up' in much the same way that pathogens -- viruses or bacteria -- are acquired. The difference is simply that in the one instance the infectious agent is an idea rather than a biological entity."

Salathé added that, in the industrialized world, future generations will worry less about infectious diseases and more about diseases linked to lifestyle and behavior. "Behavior-influenced diseases always have existed, but, until recently, they were masked: People died of infectious diseases relatively early in their life cycles. So behavior-influenced diseases weren't really on anyone's radar," Salathé explained. "Now that heart disease -- a malady caused, at least in part, by lifestyle -- is moving to the top of the list of killers, it might be wise to focus on how social media influences behaviors such as poor diet and infrequent exercise," Salathé said.

The research was funded by a Society in Science-Branco Weiss Fellowship.


Marcel Salathé: (+1) 408-386-8916,

Barbara Kennedy (PIO): (+1) 814-863-4682,


High-resolution images associated with this research are online at http://

Caption: Marcel Salathé used Twitter data to track vaccination rates and sentiments.

Credit: U.S. National Institutes of Health

Barbara Kennedy | EurekAlert!
Further information:

More articles from Studies and Analyses:

nachricht Diagnoses: When Are Several Opinions Better Than One?
19.07.2016 | Max-Planck-Institut für Bildungsforschung

nachricht High in calories and low in nutrients when adolescents share pictures of food online
07.04.2016 | University of Gothenburg

All articles from Studies and Analyses >>>

The most recent press releases about innovation >>>

Die letzten 5 Focus-News des innovations-reports im Überblick:

Im Focus: Novel light sources made of 2D materials

Physicists from the University of Würzburg have designed a light source that emits photon pairs. Two-photon sources are particularly well suited for tap-proof data encryption. The experiment's key ingredients: a semiconductor crystal and some sticky tape.

So-called monolayers are at the heart of the research activities. These "super materials" (as the prestigious science magazine "Nature" puts it) have been...

Im Focus: Etching Microstructures with Lasers

Ultrafast lasers have introduced new possibilities in engraving ultrafine structures, and scientists are now also investigating how to use them to etch microstructures into thin glass. There are possible applications in analytics (lab on a chip) and especially in electronics and the consumer sector, where great interest has been shown.

This new method was born of a surprising phenomenon: irradiating glass in a particular way with an ultrafast laser has the effect of making the glass up to a...

Im Focus: Light-driven atomic rotations excite magnetic waves

Terahertz excitation of selected crystal vibrations leads to an effective magnetic field that drives coherent spin motion

Controlling functional properties by light is one of the grand goals in modern condensed matter physics and materials science. A new study now demonstrates how...

Im Focus: New 3-D wiring technique brings scalable quantum computers closer to reality

Researchers from the Institute for Quantum Computing (IQC) at the University of Waterloo led the development of a new extensible wiring technique capable of controlling superconducting quantum bits, representing a significant step towards to the realization of a scalable quantum computer.

"The quantum socket is a wiring method that uses three-dimensional wires based on spring-loaded pins to address individual qubits," said Jeremy Béjanin, a PhD...

Im Focus: Scientists develop a semiconductor nanocomposite material that moves in response to light

In a paper in Scientific Reports, a research team at Worcester Polytechnic Institute describes a novel light-activated phenomenon that could become the basis for applications as diverse as microscopic robotic grippers and more efficient solar cells.

A research team at Worcester Polytechnic Institute (WPI) has developed a revolutionary, light-activated semiconductor nanocomposite material that can be used...

All Focus news of the innovation-report >>>



Event News

#IC2S2: When Social Science meets Computer Science - GESIS will host the IC2S2 conference 2017

14.10.2016 | Event News

Agricultural Trade Developments and Potentials in Central Asia and the South Caucasus

14.10.2016 | Event News

World Health Summit – Day Three: A Call to Action

12.10.2016 | Event News

Latest News

Steering a fusion plasma toward stability

28.10.2016 | Power and Electrical Engineering

Bioluminescent sensor causes brain cells to glow in the dark

28.10.2016 | Life Sciences

Activation of 2 genes linked to development of atherosclerosis

28.10.2016 | Life Sciences

More VideoLinks >>>