Last data update: 2014.03.03

R: Creates polarity histogram of word frequency dataframe of...
PolarityHistR Documentation

Creates polarity histogram of word frequency dataframe of 10-K statement.

Description

PolarityHist creates polarity histogram of word frequency dataframe of 10-K statement.

Usage

PolarityHist(word.frq)

Arguments

word.frq

Word frequency dataframe created using GetWordfrquency function.

Details

PolarityHist function takes words frequency dataframe as an input from GetWordfrquency function. It compares this words frequency dataframe with the negative and positive words mentioned in the Loughran and McDonald's financial sentiment dictionaries and generates polarity histogram with their frequencies.

Value

Function creates polarity histogram.

References

Loughran and McDonald's financial Sentiment dictionaries http://www3.nd.edu/~mcdonald/Word_Lists.html

Bill McDonald, and Tim Loughran. Measuring Readability in Financial Disclosures. Journal of Finance: Volume 69, Issue 4, August 2014

Bill McDonald, and Tim Loughran. When Is a Liability Not a Liability? Textual Analysis, Dictionaries, and 10-Ks. Journal of Finance: Volume 66, Issue 1, February 2011

Examples

## Not run: 

PolarityHist(word.frq)

## End(Not run)

Results