Learn R Programming

edgar (version 1.0.4)

NegWordsHist: Creates histogram of most frequent negative words in 10-K statement.

Description

NegWordsHist creates histogram of most frequent negative words in 10-K statement.

Usage

NegWordsHist(word.frq)

Arguments

word.frq
Word frequency dataframe created using GetWordfrquency function.

Value

Function creates histogram.

Details

NegWordsHist function takes words frequency dataframe as an input from GetWordfrquency function. It compares this words frequency dataframe with negative words mentioned in the Loughran and McDonald's financial sentiment dictionaries and generates histogram of 15 most frequent negative words with their frequencies.

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

Run this code
## Not run: 
# 
# NegWordsHist(word.frq)
# ## End(Not run)

Run the code above in your browser using DataLab