58
Quantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and Political Science ELECDEM 21 March 2011

Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

  • Upload
    votruc

  • View
    215

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Quantitative Text Analysis:Applications to Political Science

Kenneth BenoitLondon School of Economics and Political Science

ELECDEM 21 March 2011

Page 2: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

The information in text

Huge potential

A way to observe UNOBSERVABLES

Largely untapped

Page 3: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

How to use Text?

Read and interpret

Page 4: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

How to use Text?

Read and interpret

Page 5: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

To be manageable, useful:

Text must be reduced to summary, quantitative

information

Page 6: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Text as data

Inherit properties of statistics

Precise characterizations of uncertainty

Concern: Reliability

Concern: Validity

Page 7: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Past - Present - Future

Page 8: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Past - Present - Future

Hand-coded content analysis

Sometimes computer-assisted

Extensively applied to manifestos

Page 9: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Past - Present - Future

“Text as data” scaling approaches

Classification approaches

and still: manifesto hand-coding

Page 10: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Past - Present - Future

Better uncertainty models

Advances in estimation methods

Advances in parametric scaling

Page 11: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

The Big PictureFrom Positions to Coded Text:

A Stochastic Process

Figure 1: Summary of stochastic processes involved in the generation of policy texts

38

Figure 1: Summary of stochastic processes involved in the generation of policy texts

38

A

B

Page 12: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

PASTThe Comparative Manifesto Project

3,000+ party programmes

1948-2000

650+ parties

52 countries

three books

hundreds of articles use it

Page 13: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

The CMP Coding Process

Human coders unitize the text

CMP text units are called quasi-sentences

Then each unit is assigned a category

Category percentages of the total text are are used to measure policy

Page 14: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

The CMP Coding Scheme

7 domains of policyExternal relations

Freedom and DemocracyPolitical System

EconomyWelfare and Quality of Life

Fabric of SocietySocial Groups

56 policy categories(or “uncoded”)

Human coders are trained to classify text units into each category

Page 15: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Example

Planning

Require local authorities to have Masterplans to specify the forecasted transport, education, community service capacity requirements and to inform the Department of Education of new zoning decisions and changes to County Development Plans that have implications for future educational needs.

Agriculture

Lobby for changes in the World Trade Organisation to protect domestic agriculture from being undercut by imports that are not subject to the same quality, health and environmental standards.

Promote the clean green image of Ireland abroad creating a ‘green Ireland’ brand for food products and ensure Ireland becomes a GM-free zone and ban farming of cloned animals.

Set a target for 5% of national acreage to be organically converted by 2012.

Science & Technology

Graduate tax credits depending on the R&D being undertaken, for example a 50% credit, up to a value of

500,000 for original technology; a 25% credit up to a value of 250,000 for improving existing technology.

Tourism

Develop a tourism industry that places greater emphasis on activity holidays such as cycling, walking, angling, sailing, etc. – a policy that promotes the very essence of Irish country living.

Broadband

Set the mobile phone operators, cable companies and Eircom into direct competition to get cheaper, faster and more integrated broadband services.

Carers

Abolish means-testing of the carers’ allowance.

Develop a National Strategy for Carers within 12 months.

Children

Amend the Constitution to include the specific rights of children and implement the Convention on the Rights of the Child into Irish legislation.

Establish the Register of Persons considered unsafe to work with children and ensure that the Gardaí Vetting Unit is extended and adequately resourced.

Introduce legislation prohibiting the advertising, marketing and promotion of ‘junk’ foods to children under 12.

Older People

Establish an Ombudsman for Older Persons and initiate a National Positive Ageing Strategy across Government Departments;

Pensions

Work towards increasing the basic State pension from 30% of average income to 60%.

Replace tax relief for private pensions with a tapered matching contributions scheme targeted at savers with lower incomes.

Disability

Ensure a rights-based approach to disability.

Introduce a Cost of Disability payment of approx. 40 per week.

Political Reform

Reduce the number of TDs from 166 to 130 and more than double Dáil sitting time.

Ban corporate, institutional or foreign-based donations.

501 Environmental Protection: Positive

Score: 3/4*100 = 75%

Page 16: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Example

Planning

Require local authorities to have Masterplans to specify the forecasted transport, education, community service capacity requirements and to inform the Department of Education of new zoning decisions and changes to County Development Plans that have implications for future educational needs.

Agriculture

Lobby for changes in the World Trade Organisation to protect domestic agriculture from being undercut by imports that are not subject to the same quality, health and environmental standards.

Promote the clean green image of Ireland abroad creating a ‘green Ireland’ brand for food products and ensure Ireland becomes a GM-free zone and ban farming of cloned animals.

Set a target for 5% of national acreage to be organically converted by 2012.

Science & Technology

Graduate tax credits depending on the R&D being undertaken, for example a 50% credit, up to a value of

500,000 for original technology; a 25% credit up to a value of 250,000 for improving existing technology.

Tourism

Develop a tourism industry that places greater emphasis on activity holidays such as cycling, walking, angling, sailing, etc. – a policy that promotes the very essence of Irish country living.

Broadband

Set the mobile phone operators, cable companies and Eircom into direct competition to get cheaper, faster and more integrated broadband services.

Carers

Abolish means-testing of the carers’ allowance.

Develop a National Strategy for Carers within 12 months.

Children

Amend the Constitution to include the specific rights of children and implement the Convention on the Rights of the Child into Irish legislation.

Establish the Register of Persons considered unsafe to work with children and ensure that the Gardaí Vetting Unit is extended and adequately resourced.

Introduce legislation prohibiting the advertising, marketing and promotion of ‘junk’ foods to children under 12.

Older People

Establish an Ombudsman for Older Persons and initiate a National Positive Ageing Strategy across Government Departments;

Pensions

Work towards increasing the basic State pension from 30% of average income to 60%.

Replace tax relief for private pensions with a tapered matching contributions scheme targeted at savers with lower incomes.

Disability

Ensure a rights-based approach to disability.

Introduce a Cost of Disability payment of approx. 40 per week.

Political Reform

Reduce the number of TDs from 166 to 130 and more than double Dáil sitting time.

Ban corporate, institutional or foreign-based donations.

Or maybe...

Score: 3/6*100 = 50%

Page 17: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Problems with the CMP

Each text coded once, and only once, by a single human coder

Labor intensive, slow, and costly

Concerns exist with ‣ stochastic nature of text‣ unreliability of human unitization‣ unreliability of human coding‣ scaling (percentage of all text)

Page 18: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Problems with the CMP

Each text coded once, and only once, by a single human coder

Labor intensive, slow, and costly

Concerns exist with ‣ stochastic nature of text‣ unreliability of human unitization‣ unreliability of human coding‣ scaling (percentage of all text)

Benoit, Laver, and Mikhaylov 2009 (AJPS)

Page 19: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

BLM 2009

Simulates stochastic manifesto generation by bootstrapping sentences and reconstructing all

CMP scores

Assume category counts are generated by a multinomial distribution

Very robust and flexible

No new data needed

Page 20: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

BLM 2009Estimating error result: Benoit, Laver and Mikhaylov(2009)

Example: British Convervative party: The CMP reported “Rile”value is 25.7, but 95% confidence interval is [20.7, 31.4]

20 25 30

0.0

00

.05

0.1

00

.15

RILE Position of UK Conservative Party 1997

Density

Page 21: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Problems with the CMP

Each text coded once, and only once, by a single human coder

Labor intensive, slow, and costly

Concerns exist with ‣ stochastic nature of text‣ unreliability of human unitization‣ unreliability of human coding‣ scaling (percentage of all text)

Mikhaylov, Laver, and Benoit 2010

Page 22: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

MLB 2010

Experiment: Re-code (one of) two manifestos(UK Liberal/SDP Alliance 1983

(New Zealand National Party 1972)

Both texts were pre-unitized

Used measures of agreement and misclassification to assess reliability

Recruited experienced and trained coders

Discarded the bottom worst third of the results

Page 23: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

MLB 2009 Findings

Britain

Cohen's Kappa Tester v. Master (n=17)

Fre

quency

0.0 0.2 0.4 0.6 0.8 1.0

01

23

45

6

New Zealand

Cohen's Kappa Tester v. Master (n=12)

Fre

quency

0.0 0.2 0.4 0.6 0.8 1.0

0.0

0.5

1.0

1.5

2.0

2.5

3.0

Coders significantly disagreed with one another

Poor Agreement with the “gold standard” master coding

Page 24: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

MLB 2009 Findings

Significant misclassi-fication in individual categories

0 1

Coded.Left

10 Coded.Other 1

0

Coded.Right

202

403

404

504506

701

305

402414605

606

Uncoded

303 405

408 410

411503 703706

OTHERLEFT

RIGHT

Page 25: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Problems with the CMP

Each text coded once, and only once, by a single human coder

Labor intensive, slow, and costly

Concerns exist with ‣ stochastic nature of text‣ unreliability of human unitization‣ unreliability of human coding‣ scaling (percentage of all text)

Lowe, Benoit, Mikhaylov, and Laver 2010

Page 26: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

LBML 2010

CMP scales policy positions as absolute proportional difference:

Problem‣ clusters low-frequency categories near zero‣ sensitive to irrelevant content

Alternative is to use relative proportional difference but this is even worse‣ clusters values around extremes‣ super-sensitive in the middle

Solution: Use logit scale(and make all categories confrontational)

R− L

N

R− L

R + L

logR + .5L + .5

Page 27: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

LBML 2010(protectionism)

Comparing scalesProtectionism distributions

-1.0 -0.5 0.0 0.5 1.0

-10

01020

Protectionism

Relative Proportional Difference

Saliency

-10 0 10 20 30

0.0

0.4

0.8

Density plot of Saliency Score

Density

-1.5 -1.0 -0.5 0.0 0.5 1.0 1.5

0.0

0.2

0.4

0.6

0.8

Density plot of Relative Proportional Difference Score

Density

-4 -2 0 2 4

0.00

0.04

0.08

Density plot of Logit Score

Density

Page 28: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Comparisonw/Expert SurveysSocial Liberalism

-10 0 10 20 30 40

510

15

20

Traditional Morality v. Benoit-Laver Social

Saliency Scale

Benoit-L

aver

Socia

l D

imensio

n

-1.0 -0.5 0.0 0.5 1.0

510

15

20

Relative Proportional Scale

Benoit-L

aver

Socia

l D

imensio

n

-2 0 2 4

510

15

20

Logit Scale

Benoit-L

aver

Socia

l D

imensio

nLBML 2010

Comparison with independent expert

survey score

(social morality)

Page 29: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

LBML 2009Comparing scalesEnvironmental distributions

LEnv = N401+ (Env’l Protection: +)N416 (Anti-Growth: +)

LEnv = N410 (Productivity: Positive)

PER501 Scores

Density

0 20 40 60

0.0

0.1

0.2

0.3

0.4

Saliency "Confrontational" Environmental Scores

Density

-0.4 -0.2 0.0 0.2 0.4 0.6 0.8

02

46

8

Relative Proportional Difference "Confrontational" Environmental Scores

Density

-1.0 -0.5 0.0 0.5 1.0

02

46

810

12

Logit "Confrontational" Environmental Score

Density

-4 -2 0 2 4 6

0.00

0.10

0.20

0.30

Page 30: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

LBML 2010

Full dataset is available

Comes with bootstrappeduncertainty measures from BLM 2009

Contains 21 new left-right scales

Half never before used!

Page 31: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Problems with the CMP

Each text coded once, and only once, by a single human coder

Labor intensive, slow, and costly

Concerns exist with ‣ stochastic nature of text‣ unreliability of human unitization‣ unreliability of human coding‣ scaling (percentage of all text)

In Progress

Page 32: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Unitization variance problems

Analysis of coder training data conducted by Andrea Volkens indicate a variance in unitizing texts into “quasi-sentences” of approximately +/- 10%

This introduces additional (non-systematic) noise into the data, but ...

because of the unique nature of the CMP data (where each category is a percentage of all text units), differences in length will bias category estimates

No known solution to this problem except to move to unambiguous text units, such as natural sentences

Page 33: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

A test:Count the Quasi-Sentences

We believe that continued double-figure inflation will destroy the basis of the New Zealand economy and cause untold misery. The fight against increases in the cost of living is the most important single issue in economic management. People without jobs represent waste of productive effort: National supports a policy of full employment and the dignity of labour. We do not accept unemployment as a balancing factor in economic management. Finally, the National Development Council will be restored and consultation resumed between Government departments, academic specialists and private industry, including farming and organised labour.

Page 34: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

How many of you said...SEVEN?

We believe that continued double-figure inflation will destroy the basis of the New Zealand economy and cause untold misery. / The fight against increases in the cost of living is the most important single issue in economic management. / People without jobs represent waste of productive effort: / National supports a policy of full employment /and the dignity of labour. / We do not accept unemployment as a balancing factor in economic management. / Finally, the National Development Council will be restored and consultation resumed between Government departments, academic specialists and private industry, including farming and organised labour.

Page 35: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Unitization variance from CMP Training Document

Page 36: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

(VERY) Preliminary Results from Recoding Study

Page 37: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Example of what we are recoding:Sinn Fein 2001 Manifesto

Page 38: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

CMP problems are structural

Too many categories!

Need a more stable text unit

Need a fully confrontational scale

Resists change

Advantage: Good description of actual content

Page 39: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

THE PRESENT

“Text as Data” Approaches

Page 40: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

“From Text to Policy Positions”

Text θ̂

Estimation

Inference

also: From Policy Positions to text

Stochastic Process

FunctionalForm

θ

Page 41: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Problem 1: Interpret this data! +----------------------------------------------------------------+ | party spend_~l votes1st electo~e gender margin~d m | |----------------------------------------------------------------| 1. | ind 6544.23 335 95060 m Safe 5 | 2. | ind 14558.26 1614 95060 m Safe 5 | 3. | fg 19153.71 5468 95060 m Winnable 5 | 4. | lab 10658.21 4272 95060 m Winnable 5 | 5. | ff 19648.3 9343 95060 m Safe 5 | |----------------------------------------------------------------| 6. | ff 16968.18 12489 95060 m Winnable 5 | 7. | ff 24100.27 8711 95060 m Unlikely 5 | 8. | gp 12110.11 4961 95060 f Unlikely 5 | 9. | lab 8404.43 3732 95060 m Unlikely 5 | 10. | fg 19743.1 7841 95060 m Unlikely 5 | |----------------------------------------------------------------| 11. | lab . . 95060 m Unlikely 5 | 12. | sf 6633.45 2078 95060 m Unlikely 5 | 13. | fg 11217.01 4819 87087 m Unlikely 5 | 14. | ff 22383.53 10679 87087 m Unlikely 5 | 15. | sf 28953.32 10832 87087 m Safe 5 | |----------------------------------------------------------------|

Page 42: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

+----------------------------------------------------------------+ | party spend_~l votes1st electo~e gender margin~d m | |----------------------------------------------------------------| 16. | lab 8756.67 550 87087 m Safe 5 | 17. | pd 30573.12 1131 87087 m Safe 5 | 18. | ind 17196.73 1026 87087 m Safe 5 | 19. | gp 10699.87 1100 87087 m Unlikely 5 | 20. | fg 12839.2 4639 87087 m Unlikely 5 | |----------------------------------------------------------------| 21. | ind 17934.79 7722 87087 m Unlikely 5 | 22. | ff 20122.19 3731 87087 m Unlikely 5 | 23. | ff 21483.37 7204 87087 m Unlikely 5 | 24. | fg 11124 6113 87087 m Unlikely 5 | 25. | csp 3141.27 358 87087 m Unlikely 5 | |----------------------------------------------------------------| 26. | ind 34542.73 1943 87087 m Unlikely 5 | 27. | ff 13120.48 6717 78643 m Unlikely 4 | 28. | gp 7771.53 2903 78643 m Safe 4 | 29. | csp 140 176 78643 m Safe 4 | 30. | fg 14195.46 4015 78643 m Safe 4 | |----------------------------------------------------------------|

Page 43: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and
Page 44: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

We believe that continued double-figure inflation will destroy the basis of the New Zealand economy and cause untold misery. The fight against increases in the cost of living is the most important single issue in economic management.

People without jobs represent waste of productive effort: National supports a policy of full employment and the dignity of labour. We do not accept unemployment as a balancing factor in economic management.

Finally, the National Development Council will be restored and consultation resumed between Government departments, academic specialists and private industry, including farming and organised labour.

Problem 2: Interpret this data!

Page 45: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

We believe that continued double-figure inflation will destroy the basis of the New Zealand economy and cause untold misery. / The fight against increases in the cost of living is the most important single issue in economic management. /

People without jobs represent waste of productive effort: / National supports a policy of full employment / and the dignity of labour. / We do not accept unemployment as a balancing factor in economic management. /

Finally, the National Development Council will be restored and consultation resumed between Government departments, academic specialists and private industry, including farming and organised labour.

Page 46: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

We believe that continued double-figure inflation will destroy the basis of the New Zealand economy and cause untold misery. / The fight against increases in the cost of living is the most important single issue in economic management. /

People without jobs represent waste of productive effort: / National supports a policy of full employment / and the dignity of labour. / We do not accept unemployment as a balancing factor in economic management. /

Finally, the National Development Council will be restored and consultation resumed between Government departments, academic specialists and private industry, including farming and organised labour.

??????

Page 47: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

We believe that continued double-figure inflation will destroy the basis of the New Zealand economy and cause untold misery. / The fight against increases in the cost of living is the most important single issue in economic management. /

People without jobs represent waste of productive effort: / National supports a policy of full employment / and the dignity of labour. / We do not accept unemployment as a balancing factor in economic management. /

Finally, the National Development Council will be restored and consultation resumed between Government departments, academic specialists and private industry, including farming and organised labour.

408 Economic Goals:Statements of intent to pursue any economic

goals not covered by other categories.

Page 48: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Kansainväliset uraaniyhtiöt ovat olleet kiinnostuneita Kainuussa sijaitsevista esiintymistä. Kainuun maakunta-kuntayhtymä on Perussuomalaisten valtuustoryhmän aloitteen pohjalta selvittänyt kainuulaisten suhtautumista mahdollisiin uraanikaivoksiin.

Sotkamossa sijaitsevan Talvivaaran kaivoksen sivutuotteena tulee myös uraania, joka aiotaan ottaa jätelietteestä talteen. Tässä uraanin talteenotossa syntyy niin paljon ydinvoimalaitosten polttoainetta, että se riittäisi noin 80 prosenttisesti Suomessa toimivien ydinvoimaloiden tarpeisiin.

Talvivaaran tapauksessa ei kaivoksen johdon mukaan ole kysymys varsinaisen uraanikaivoksen avaamisesta, vaan vain sivutuotteen talteenotosta. Valtioneuvosto tullee päättämään Talvivaara-asiasta uraanin osalta tämän vuoden aikana.

Perussuomalaiset

Problem 3: Now try this one!

Page 49: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

and this one???

Page 50: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Problem (last): Interpret these text scaling results!

Monroe and Maeda 13

−0.5 0.0 0.5 1.0 1.5

−1.5

−1.0

−0.5

0.0

0.5

1.0

Left/Right (Minority / Majority)

Wor

k Ho

rse

/ Sho

w Ho

rse

WydenWellstone

WarnerVoinovich

Torricelli

Thurmond

ThompsonThomas

StevensSpecter

Snowe

Smith(OR)

Smith(NH)

Shelby

SchumerSessions

Sarbanes

Santorum

Roth

RockefellerRoberts

Robb

Reid

Reed

Nickles

Murray

MurkowskiMoynihan

MikulskiMcConnell

McCainMack

Lugar

Lott

LincolnLieberman

LevinLeahy

Lautenberg

LandrieuKyl

Kohl

Kerry

Kerrey

Kennedy

JohnsonJeffords

Inouye

InhofeHutchison

Hutchinson

Hollings

Helms

Hatch

Harkin

Hagel

Gregg

GrassleyGrams

Gramm

Graham Gorton

FristFitzgerald

Feinstein

Feingold

EnziEdwardsDurbin

Dorgan

Domenici

Dodd

DeWine

Daschle

Crapo

Craig

Coverdell

Conrad

Collins

CochranCleland

Campbell

Byrd

Burns

BunningBryan BrownbackBreaux

Boxer

Bond

Bingaman

Biden

Bennett

Bayh

Baucus

AshcroftAllard

Akaka

Abraham

Figure 4: Rhetorical Ideal Points with Partisan Means and Cutline

Work-Horse/ Show-Horse

Left-Right

Page 51: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

???

Page 52: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

PRESENT

Scaling models: Wordscores; “Wordfish”; others

Classification methodsNaive Bayes (e.g. McIntosh et al)

Readme (Hopkins and King)Dynamic Topic Models (e.g. Quinn et al.)

Support Vector Machines (Hillard et al, Yu et al.)Expressed Agenda Model (Grimmer 2010)

Page 53: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Wordscores(Laver, Benoit and Garry 2003)

“Reference” texts: texts about which we know something (a scalar dimensional score)

“Virgin” texts: texts about which we know nothing (but whose dimensional score we’d like to know)

Basic procedure:Analyze reference texts to obtain word scoresUse word scores to score virgin texts

Page 54: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

Wordscores

4

Labour 1992 5.35

Liberals 1992 8.21

Cons. 1992 17.21

Labour 1997 9.17 (.33)

Liberals 1997 5.00 (.36)

Cons. 1997 17.18 (.32)

Reference Texts

Scored word list

Scored virgin texts

1

2 3 4

The Wordscore Procedure (Using the British manifestos 1992-1997 as an illustration)

drugs 15.66 corporation 15.66 inheritance 15.48 successfully 15.26 markets 15.12 motorway 14.96 nation 12.44 single 12.36 pensionable 11.59 management 11.56 monetary 10.84 secure 10.44 minorities 9.95 women 8.65 cooperation 8.64 transform 7.44 representation 7.42 poverty 6.87 waste 6.83 unemployment 6.76 contributions 6.68

Step 1: Obtain reference texts with a priori known positions (setref) Step 2: Generate word scores from reference texts (wordscore) Step 3: Score each virgin text using word scores (textscore) Step 4: (optional) Transform virgin text scores to original metric

Page 55: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

“Wordfish” scaling model(Slapin and Proksch 2008; Monroe and Maeda 2004)As measurement model

Assumptions about P (W1 . . .WV | θ)

logE(Wi | θj) = αj + ψi + βiθj

αj is a constant term controlling for document length (hence it’s associatedwith the party or politician)

The sign of βi represents the ideological direction of Wi

The magnitude of βi represents the sensitivity of the word to ideologicaldifferences among speakers or parties

Ψ is a constant term for the word (larger for high frequency words).

Document Scaling, Will Lowe 2009

Page 56: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

As measurement model

Assumptions about P (W1 . . .WV | θ)

logE(Wi | θj) = αj + ψi + βiθj

αj is a constant term controlling for document length (hence it’s associatedwith the party or politician)

The sign of βi represents the ideological direction of Wi

The magnitude of βi represents the sensitivity of the word to ideologicaldifferences among speakers or parties

Ψ is a constant term for the word (larger for high frequency words).

Document Scaling, Will Lowe 2009

From θ to Data (and back)

Data:

� Y is N (speaker) × V (word) term document matrix

V � N

Model:

P(Yi | θ) =

V�

j=1

P(Yij | θi )

Yij ∼ Poisson(λij) (POIS)

log λij = (g +)αi + θiβj + ψj

Estimation:

� Easy to fit for large V (V Poisson regressions with α offsets)

March 11, 2011 Text as Data Conference 2011 3 / 26

“Wordfish” scaling model(Slapin and Proksch 2008; Monroe and Maeda 2004)

Page 57: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

THE FUTURE

Integration of diverse approaches

Page 58: Quantitative Text Analysis: Applications to Political Science · PDF fileQuantitative Text Analysis: Applications to Political Science Kenneth Benoit London School of Economics and

FUTURE

Integrate ex ante scaling with purely inductive scaling

Integrate scaling techniques with classification methods

Multidimensionality

Better parametric models

Non- or semi-parametric methods for uncertainty

Textbook