statable Statistics for study and research

Which words occur in my texts, and what does that say? (counting words, text analysis)

In brief

Counting words is one way to survey large amounts of text: which words are frequent, where and how does a word stand, and which words distinguish two groups of texts? The count shows where to read more closely. It does not replace reading and interpreting, because a word is not yet a meaning.

The four tools

A worked example

Group A has three short statements with 21 words in total, group B two with 15 words in total (invented). "tired" (German "müde") occurs 4 times in A, 0 times in B: G2 = 4.31, p = 0.038, a hint that the word stands out for A. "the" (German "die") occurs 3 times in A and 2 times in B; the shares are almost equal at about 14% and 13%, G2 = 0.006. Although the raw count is higher in A, "the" is not typical for A, because A is longer.

How to do it in Statable

  1. In the coding workspace (Ctrl+K: "count words") open the section "Analysis" and the view "Which words occur?". Choose documents; the word list appears at once.
  2. Look at the stop words and change them if need be, set minimum length and minimum count. With "As CSV" you save the table.
  3. Enter a word in "Key word in context" and read the places. In the dictionary write a line "Name: word, word*".
  4. For "Key words" choose documents of group A and of group B and look at the table of G2 values; then read the hits in context.

Limits

What is often misunderstood

Sources

Dunning, T. (1993). Accurate methods for the statistics of surprise and coincidence. Computational Linguistics, 19, 61-74. Luhn, H. P. (1960). Key word-in-context index for technical literature (KWIC index). American Documentation, 11, 288-295. Krippendorff, K. (2019). Content Analysis: An Introduction to Its Methodology (4th ed.), ch. 3 and 6. Sage.

Take away

  • A count shows where to read; it interprets nothing.
  • Stop words hide function words; the list is visible and belongs in the description of the method.
  • Key words compare shares, not raw counts; the p-value is a hint without multiple-test correction.
  • The asterisk in the dictionary checks the beginning of the word; read the hits in context.

Related

Open in Statable