Monday, October 31, 2011

Using Twitter to Follow Attitudes About Vaccines

    Dennis Barker

  • Scientists train machines to analyze tweets, assess vaccination rates and identify potential contagion zones.
    Machine analysis of hundreds of thousands of Twitter messages is helping scientists learn how to use social networks to combat the spread of disease. Marcel Salathé, assistant professor of biology at Penn State, came up with the idea of combing tweets to determine people's attitudes about the H1N1 swine-flu vaccine. Mapping negative attitudes about a vaccine could potentially help identify geographic areas or population clusters that are unvaccinated and, therefore, theoretically more susceptible to a contagious outbreak.
    While the H1N1 pandemic was sweeping the nation, Salathé started by collecting all English-language tweets that mentioned a relevant keyword, such as "vaccine, "vaccinate" or "immunize." The original data set of nearly 500,000 tweets had to be whittled down for classification purposes, so the professor sliced out about 10 percent of them and had student volunteers read and classify each message in that subset as:
    1. positive ("I'm off to get a swine-flu vaccination");
    2. negative ("The H1N1 'vaccine' is dirty. DontGetIt!");
    3. neutral ("Health dept offering the flu vaccine on Monday"); or
    4. irrelevant ("Senate says no to funding for malaria vaccine").
    Then, programmer/analyst Shashank Khandelwal developed an algorithm to classify the remaining mountain of uncategorized messages. "The human-rated tweets served as a 'learning set' that we used to 'teach' the computer how to rate the tweets accurately," Salathé says.
    Once the machines had sorted the messages and eliminated those classified as irrelevant, the researchers found that tweeted pro-vaccine sentiment correlated with actual vaccination rates. New England, for example, had the highest number of positive attitudes and the highest number of people vaccinated. As Salathé told a Penn State publication, "These results could be used strategically to develop public-health initiatives. ... targeted campaigns could be designed according to which region needs more prevention education."
    The biologist says one of his goals is to use social-network data to also investigate other health threats, like obesity and heart disease.
    The beauty of tweets for research is that they are public data, are concise, sometimes include location information and, by showing who is following whom, can enable a researcher to pinpoint pockets of, say, people avoiding the vaccine--the assumption being that people who follow X tend to share X's views. As Salathé says in the research paper he co-wrote with Khandelwal, they found that "opinions are clustered," and that "most communities were dominated by either positive or negative sentiments towards the novel vaccine."
    Note to CDC: Maybe for the next outbreak, you could find out if Lady Gaga, Justin Bieber or one of the other most-followed people is positive or negative about a new vaccine and then target that person accordingly.

     

1 comment:

Game Apps said...

When your Gov Rick Perry started talking about vaccinations and the media was reporting on it, I honestly didn't know what they were talking about. Your blog really helped give me some clarity. So thank you for the help and the great content!