
Text Mining the State of the Union
Published Jan. 20, 2015 • Read time: 4m
President Obama has already revealed some of the key points of his upcoming State of the Union address, such as a tax increases on the wealthiest Americans and an attempt to make the first two years of community college free for many. But these statements are not the only clues we have about what may be in store for tonight's speech. Past State of the Union speeches help paint a picture of what it might look like.
We examined 34 State of the Union (or equivalent) speeches – starting with President Reagan in 1981 through Obama in 2014 – using a set of statistical tools to perform what is known as text mining. We used these quantitative tools to better understand where each speech stood ideologically.
This graph represents the output of a text mining program called Wordfish, which compares and contrasts the frequency with which different terms occur in documents in order to place the documents on a left-right political scale (e.g., terms such as “free” and “freedom” occurred more often in conservative speeches and thus pushed those speeches to the right of the scale, while “community” and “health care” occurred more frequently in liberal speeches and pushed those speeches to the left).
Two important trends jump out of this graph:
First, Obama’s State of the Union speeches have become somewhat more liberal over time. In 2009, Obama gave a speech to a joint session of Congress (not technically a State of the Union address, but more or less equivalent in impact and importance) that is rated significantly farther right than the rest of his State of the Union speeches. This speech – like most State of the Union speeches – covered a broad, ambitious policy agenda, but it mostly focused on the economy and recovery from the recession. According to our results, this speech was ideologically similar to the speeches President Bill Clinton gave during his second term.
In his State of the Union speeches from 2010 to 2014, Obama was consistently more liberal. As he pursued passage of the Affordable Care Act, the Dodd-Frank Wall Street Reform and Consumer Protection Act and a number of other legislative priorities, his ideological position began to look more like Clinton’s first term.
Lies, Assault and Cover-ups Don't Stop Donald Trump
Trump Stands by His Man; Obama on a Health Scourge; Hayden Interview; Reagan's Courage
Analysis: For Trump, Few Limits to Win-At-Any-Cost Approach
What If Clinton Isn't Indicted?
Second, Obama is more ideologically consistent than Presidents George W. Bush or Bill Clinton. Clinton’s State of the Union addresses took a noticeable right turn during his second term, and although Bush was generally conservative, the ideology of his State of the Union speeches varied a bit more widely than Obama’s. President Reagan, on the other hand, seemed to be about as consistent in his conservatism as Obama is in his liberalism.
While there are many other interesting patterns in this graph, it is important not to misinterpret or over-interpret these results. Specifically, there are some pitfalls to beware of when performing this type of analysis.
First, these points are relative, so zero does not correspond to the ideological center. Speeches assigned a more negative value are generally more liberal, and positive values indicate a more conservative speech. These points should be judged relative to each other rather than relative to any fixed point on the left-right scale.
Second, these ideological point values have some uncertainty surrounding them. This uncertainty – conceptually similar to the margin of error you might see in a poll – is displayed in the black line around each point. If one point lies within another’s uncertainty (e.g., Obama’s 2010 and 2011 speeches) then those speeches are more or less indistinguishable ideologically.
Third, my results differ slightly from some very similar calculations done last year by Benjamin Lauderdale at the London School of Economics. Lauderdale’s methods and dataset differ slightly from mine, and he did not see Obama’s State of the Union shift left after 2009. His values for George W. Bush were also more stable than mine.
That said, Lauderdale’s results and my results agree on most points. Both of our analyses put Republican presidents on the right and Democrats on the left. We both saw Clinton move right in his second term. Both of us found that President George H.W. Bush moved left in his 1992 State of the Union and we both registered a rightward shift in his 1991 speech. While differences in methodology led to slightly different results, our analyses were generally consistent.
Finally, Wordfish is good for getting the overall ideological thrust of a document, but it may not pick up some of the short, subtle but important policy snippets stuffed into every State of the Union address. Text mining is not a substitute for close reading of policy acumen, but in this case it provides a new, interesting way to contextualize Obama’s speech tonight.

Newsom Defies Voters, Juries and Lawmakers To Spare Murderers While Defending Abortion
Curtis Hill • RealClearPolitics
The Algorithmic Tilt
Frank Filingeri • RealClearPolitics
A RealClear Thanksgiving: Investing in a Better Future
David DesRosiers • RealClearPolitics
Trump’s Newsom Problem: Antagonist-in-Chief
Carolina Lumetta • RealClearPolitics
America’s Free Spirit
John Maxwell Hamilton • RealClearPolitics
The GOP Majority Should Go Out in Glory
Daniel McCarthy • RealClearPolitics
RCP Today
Top stories on RealClearPolitics
The Takeaway
Polling intelligence and analysis delivered to your inbox
World News
Featuring the latest world news
Policy
Featuring the latest policy news
Support Our Mission
As part of RealClearPolitics, authors aim to provide balanced, non-partisan analysis by presenting top reporting and commentary from all sides of the political spectrum.
Trusted by policymakers and citizens alike since 2000