Monday, September 12, 2011

What improved word clouds reveal in Obama, Bernanke jobs and economy speeches


The above is a word cloud using President Obama’s Sept. 8 address to Congress. As is customary with word clouds, the more times a word occurs in a text, the larger the font size in the cloud. Even if you weren’t aware of the nature of the speech, it’s obvious from the cloud that Obama’s address to Congress dealt with “jobs” in “America.”

But word clouds have limits. Seth Duncan, analytics director for the digital public relations firm WCG, wrote on the bynd.com blog in 2010 that the simplicity of the word cloud could contribute to a decline of reading comprehension. In his post, “Word Clouds and the Cognitive Decline of PR and Marketing,” Duncan wrote that he strongly believed “that the word cloud is the biggest enemy of deep reading and lowest form of artificial intelligence in marketing and PR.”

“You can read the content very quickly (because they don’t contain much information) and they have a unique look. I also think that word clouds can provide useful information for SEM or SEO planning. But people are fooling themselves if they think that a word cloud offers a satisfactory summary of hundreds or thousands of pages of text,” he wrote.

NYU political science PhD student Drew Conway has a similar, but different beef with word clouds. Conway looked at a word cloud, essential a plot of words in three dimensions (x, y, and font size), and saw a missed opportunity. “They are meant to summarize a single statistics—word frequency—yet they use a two dimensional space to express that,” he wrote.

His solution came from his background in statistics, which oftentimes compares two sets of data. For his improved word cloud, he compared two speeches by political figures and used the x-axis to describe the similarity between two speeches. To accomplish this, he used the free, open-source statistical programming environment R, which has a data-mining and graphics plotting features, along with some custom coding.

But what to compare the Obama jobs speech to? That same day, bankers and business executives at the Economic Club of Minnesota waited eagerly to hear the Fed Chair Ben Bernanke outline what the Fed would do to alleviate economic concerns.

Obama and Bernanke were speaking to two very different audiences, and had different objectives. Obama was speaking to a Congress hell bent on being re-elected and an anxious, under-employed American public. Meanwhile, Bernanke was speaking to titans of industry and banking. These differences shouldn’t be an excuse not to compare the two speeches; rather, both speakers are components of the administration weighing in on essentially the same issue.

Differences in their speeches could signal a difference in opinion and discord about an appropriate response, while similarities could point to ideas with a measure of political support. If nothing else, it’s worth looking at how two high-ranking officials in an administration tailor speeches on economic issues to two different audiences.

Here’s what those two speeches look like in Conway’s “better word cloud.” Click to see the plot in a higher resolution.




The center line represents words used most often by both speakers, while words at either end are spoken more by one person than the other. The size of the font indicates the frequency of the word.

In his speech, Bernanke used “economic,” “recovery” and “fiscal” many more times than did Obama.  Those words are adjectives and nouns rather than action verbs, and so they are more characteristic of an analysis than a call to action.

In comparison, Obama used the words “people,” “companies” and “pass” more than Bernanke. Those are nouns with the exception of “pass” – which is an action verb – and Obama used that word 18 times during his speech.

The hypothesis, is that Brenanke’s speech didn’t suggest a call to action, while Obama’s speech did. The litmus test for the effectiveness of this comparison was whether news reports and analysis came to the same conclusion. And indeed, they did.

“Investors were clearly peeved that Fed Chairman Ben Bernanke did not bring up a new plan to save the economy in a speech today in Minneapolis, leaving it up to President Obama to inspire the market in a speech unveiling a new jobs plan tonight,” wrote Barron’s.

“Fed chief failed to shed new light on potential policy efforts,” wrote the Dow Jones newswire. “Bernanke reiterated that the central bank stands ready to act and the board will discuss a full range of monetary tools at its Sept. 20-21 meeting, but didn’t commit to any particular tool.”

More insight is gathered from the words that aren’t at the extreme of the spectrum. For example, Obama used strong nouns and verbs such as “action,” “create,” “decided,” “provide,” and “strengthen.” Again, in comparison, Bernanke used the words “continue,” “confidence” and “affected.”

The R statistical program also produced a list of word frequencies in the speeches, which I have converted into a Microsoft Excel table. A Google Docs link for that file is below.

Sources and Resources

Text of Bernanke’s speech

Text of Obama’s speech

Excel table of word frequencies (via Google Docs)

R, a statistical programming environment

Quick R, a how-to blog on the R environment by statistical research methodologist Robert I. Kabacoff, Ph.D.

The Fed Chairman Game, from the Federal Reserve Bank of San Francisco