53
An Analysis of Political Views on Blogs Todd Sullivan

An Analysis of Political Views on Blogs

  • Upload
    dewei

  • View
    26

  • Download
    0

Embed Size (px)

DESCRIPTION

An Analysis of Political Views on Blogs. Todd Sullivan. General Layout of Project. 8 Classes Candidates: Obama, McCain, Biden, Palin Parties: Republicans, Democrats, Liberals, Conservatives Extract opinions about each class - PowerPoint PPT Presentation

Citation preview

Page 1: An Analysis of Political Views on Blogs

An Analysis of Political Viewson Blogs

Todd Sullivan

Page 2: An Analysis of Political Views on Blogs

General Layout of Project

• 8 Classes– Candidates: Obama, McCain, Biden, Palin– Parties: Republicans, Democrats, Liberals,

Conservatives

• Extract opinions about each class– Compute a FeelScore metric for each

author/class pair (provided the author mentioned the class)

• Do stuff with the FeelScores

Page 3: An Analysis of Political Views on Blogs

Extracting Opinions

• Define three lists– Class Names– Word Synonyms– Feeling Indicators

• Tokenize blog posts into sentences• Find sentence that contain a class name

– Count number of positive/negative Feeling Indicators

– Apply counts to classes in sentence

Page 4: An Analysis of Political Views on Blogs

Class Names

• Obama:– obama, senator of illinois, senator from

illinois, illinois senator, democrat president, democratic president, …

• Palin– palin, alaskan governor, governor of alaska,

alaska governor, republican vp, …

• Liberals– liberals, liberal, libs

Page 5: An Analysis of Political Views on Blogs

Word Synonyms

• Bad– worst, unpleasant, disastrous, dirty, failure,

sucks, sux, traitor, idiot, loser, noob, dumb, …

• Good– awesome, sweet, cool, groovy, comforting,

glorious, dandy, brilliant, best, wonderful, …

• Skip Words– Very, usually, still, much, nearly, most, more,

frankly, a, an, any kind of punctuation, …

Page 6: An Analysis of Political Views on Blogs

Feeling Indicators

• Negative Indicators– :is: :bad:, :bad: :plans:, :plans: :is: :bad:,

:i: do :not: want, :i: cannot stand, how :bad:, :is: :not: :good:, :i: disagree:, :i: do :not:, …

• Positive Indicators– :is: experienced, :i: agree, :i: will vote,

for president, :i: support, :i: donated,:good: speaker, …

Page 7: An Analysis of Political Views on Blogs

FeelScore

• For each author a and class c

,,,,

,,,,,

),()},({1,,

),()},({1,,

log

log

caCountcaCount

caCountcaCountcaFeelScore

sorsNumIndicatcsHasClasscaCount

sorsNumIndicatcsHasClasscaCount

asBb bSentencess

asBb bSentencess

1,1, caFeelScore

Page 8: An Analysis of Political Views on Blogs

Incorporating Interests and Communities

• Pull all unique interests containing one of the class’ names (obama, mccain, …)– Returns around 350 interests– Small enough to label as positive, negative, or

remove.

• Same process for communities

Page 9: An Analysis of Political Views on Blogs

Positive InterestsClass Interest Count Author Count

Obama 33 201McCain 5 14Biden 4 6Palin 7 48

Negative InterestsClass Interest Count Author Count

Obama 2 3McCain 3 5Biden 0 0Palin 5 6

Page 10: An Analysis of Political Views on Blogs

Positive InterestsClass Interest Count Author Count

Republicans 25 118Democrats 41 373Liberals 100 605Conservatives 38 112

Negative InterestsClass Interest Count Author Count

Republican 15 28Democrat 2 3Liberal 12 13Conservative 10 17

Page 11: An Analysis of Political Views on Blogs

Interesting Interests

• Positive Interests– Not interesting: obama, mccain 08, republican

• Negative Interests– _doing_something_ to _class_

where _doing_something_ is:

anti, testing, baiting, bashing, hating,pissing off, cockpunching,forced lobotomization of, death to

Page 12: An Analysis of Political Views on Blogs

Positive CommunitiesClass Community Count Author Count

Obama 26 206McCain 6 15Biden 1 3Palin 5 17

Negative CommunitiesClass Community Count Author Count

Obama 1 9McCain 2 13Biden 0 0Palin 3 11

Page 13: An Analysis of Political Views on Blogs

Positive CommunitiesClass Community Count Author Count

Republicans 8 26Democrats 19 111Liberals 45 281Conservatives 9 17

Negative CommunitiesClass Community Count Author Count

Republicans 0 0Democrats 0 0Liberals 3 10Conservatives 0 0

Page 14: An Analysis of Political Views on Blogs

Example Communities

• Positive– Obama PA, GothsForObama,

TeenRepublicans

• Negative– Anti-Obama, nobama, WTF-Palin

Page 15: An Analysis of Political Views on Blogs

Authors Listing Multiple Interests for the Same Class

Page 16: An Analysis of Political Views on Blogs

Authors Joining Multiple Communities for the Same Class

Page 17: An Analysis of Political Views on Blogs

FeelScores Across Time

• For an author a, class c, and day Day

,,,,,,

,,,,,,,,

2

,,,,,,

2

,,,,,,

),()},({1,,,

),()},({1,,,

2008,1,

2008,1,

,log

,log

DaycaAdjCountDaycaAdjCount

DaycaAdjCountDaycaAdjCountDaycaFeelScore

dcaCountDaycaAdjCount

dcaCountDaycaAdjCount

sorsNumIndicatcsHasClassdcaCount

sorsNumIndicatcsHasClassdcaCount

Day

JanddDaydayDiff

Day

JanddDaydayDiff

dasBb bSentencess

dasBb bSentencess

Page 18: An Analysis of Political Views on Blogs

Including Interests and Communities

• Count an interest or community as 5 positive or negative counts added to AdjCount(a,c,Day,...) for all days on and after the interest or community was added to the database.

Page 19: An Analysis of Political Views on Blogs

FeelScores Across Time Continued…

• For a class c, and day Day

DaycAuthors

DaycaFeelScore

DaycFeelScore

DaydsomeforAuthorsaa

DaycAuthors

DaycAuthorsa

,

,,

,

dc,a,FeelScore&|

,

,

Page 20: An Analysis of Political Views on Blogs

Overall Blog-basedCandidate FeelScores

Page 21: An Analysis of Political Views on Blogs

Overall Blog-basedParty FeelScores

Page 22: An Analysis of Political Views on Blogs

Positive/Negative Candidate Chatter by Blog Network

Page 23: An Analysis of Political Views on Blogs

Blog-based Candidate FeelScores Across Networks

Page 24: An Analysis of Political Views on Blogs

Blog-based Party FeelScores Across Networks

Page 25: An Analysis of Political Views on Blogs

Positive/Negative ChatterCandidate by Gender

Page 26: An Analysis of Political Views on Blogs

Blog-based Candidate FeelScores Across Gender

Page 27: An Analysis of Political Views on Blogs

Blog-based PartyFeelScores Across Gender

Page 28: An Analysis of Political Views on Blogs

National Conventions

Page 29: An Analysis of Political Views on Blogs

National ConventionsNew Authors

Page 30: An Analysis of Political Views on Blogs

National ConventionsChanging Opinions

Page 31: An Analysis of Political Views on Blogs

Presidential Debates

Page 32: An Analysis of Political Views on Blogs

Presidential Debates Cont…

Page 33: An Analysis of Political Views on Blogs

Vice Presidential Debate

Page 34: An Analysis of Political Views on Blogs

VP Debate Cont…

Page 35: An Analysis of Political Views on Blogs

Obama & McCainFeelScores by Network

Page 36: An Analysis of Political Views on Blogs

National Conventionsby Network

Page 37: An Analysis of Political Views on Blogs

McCain & PalinFeelScores by Network

Page 38: An Analysis of Political Views on Blogs

Party FeelScores by Network

Page 39: An Analysis of Political Views on Blogs

Aggregate FeelScoresby Gender

Page 40: An Analysis of Political Views on Blogs

Age Ranges

Page 41: An Analysis of Political Views on Blogs

Aggregate FeelScores by Age

Page 42: An Analysis of Political Views on Blogs
Page 43: An Analysis of Political Views on Blogs

Older People Don’t Like Liberals

Page 44: An Analysis of Political Views on Blogs

Friend Networks

• 523 Democrats and 620 Republicans• 1,575 mutual links

– 64% Democrat-Republican links (Green)– 23.6% Democrat-Democrat links (Blue)– 12.4% Republican-Republican links (Red)

• The 64% number is largely influenced by a few authors. In a macro-average across authors, 50.9% of a blogger’s friends are from the blogger’s party.

Page 45: An Analysis of Political Views on Blogs

Percent of Bloggersvs. Number of Friends

Page 46: An Analysis of Political Views on Blogs

Political BloggingFriend Network

Page 47: An Analysis of Political Views on Blogs

National Convention Poll Data

Page 48: An Analysis of Political Views on Blogs

Predicting the Popular Vote

• No data after October 28, 2008, so we use Oct. 28 data for calculations.

• For each author a

Classesc

Classesc

nullOctcaFeelScore

OctcaFeelScorecPartyaLeaning

DemocratpublicanPalinMcCaincif

LiberalDemocratBidenObamacifcParty

28,,1

28,,

,Re,,1

,,,1

Page 49: An Analysis of Political Views on Blogs

Assigning Votes Continued

a

a

a

aLeaningotersUndecidedV

sMcCainVote

aLeaningotersUndecidedV

ObamaVotes

aLeaningotersUndecidedV

aLeaning

1.012

1.012

1.0,1.01

1,1

Page 50: An Analysis of Political Views on Blogs

Popular Vote

Classes Used Obama McCain# of

AuthorsObamaMcCain 56.5% 43.4% 3,790

Obama-Bidenvs.

McCain-Palin53.6% 46.4% 4,470

Obama-Biden-Democratvs.

McCain-Palin-Republican51.8% 48.2% 5,217

Obama-Biden-Democrat-Liberal

vs.McCain-Palin-

Republican-Conservative

51.2% 48.8% 5,832

• Actual Result: Obama 53%, McCain 46%

Page 51: An Analysis of Political Views on Blogs

Exit Polls by GenderCNN Exit Poll Results

Gender Obama McCain # Polled

Female 56% 44% 9,453Male 51% 49% 8,740

Predicted Results

Gender Obama McCain# of

AuthorsFemale 55.4% 44.6% 261Male 54.1% 45.9% 636

Page 52: An Analysis of Political Views on Blogs

Exit Polls by AgeCNN Exit Poll Results

Age Obama McCain # Polled

18 to 29 67% 33% 3,21030 to 44 53% 47% 5,08345 to 64 50% 50% 6,689

65+ 46% 54% 2,854

Predicted Poll Results

Age Obama McCain# of

Authors18 to 29 60.4% 39.6% 47630 to 44 56.8% 43.2% 29445 to 64 57.0% 43.0% 135

65+ 33.3% 67.7% 36

Page 53: An Analysis of Political Views on Blogs

Questions?