Skip to main content
. 2011 Dec 7;6(12):e26752. doi: 10.1371/journal.pone.0026752

Figure 4. Word shift graph showing how changes in word frequencies produce spikes or dips in happiness for three example dates, relative to the 7 days before and 7 days after each date.

Figure 4

Words are ranked by their percentage contribution to the change in average happiness, Inline graphic. The background 14 days are set as the reference text (Inline graphic) and the individual dates as the comparison text (Inline graphic). How individual words contribute to the shift is indicated by a pairing of two symbols: Inline graphic shows the word is more/less happy than Inline graphic as a whole, and Inline graphic shows that the word is more/less relatively prevalent in Inline graphic than in Inline graphic. Black and gray font additionally encode the Inline graphic and Inline graphic distinction respectively. The left inset panel shows how the ranked 3,686 labMT 1.0 words (Data Set S1) combine in sum (word rank Inline graphic is shown on a log scale). The four circles in the bottom right show the total contribution of the four kinds of words (Inline graphic Inline graphic, Inline graphic Inline graphic, Inline graphic Inline graphic, Inline graphic Inline graphic). Relative text size is indicated by the areas of the gray squares. See Eqs. 2 and 3 and Sec. 4.2 for complete details.