Significance testing of word frequencies in corpora
Open accessThe DOI matches its Crossref record; 43 of the 43 references it cites were found in a registry or an index.
Abstract
Finding out whether a word occurs significantly more often in one text or corpus than in another is an important question in analysing corpora. As noted by Kilgarriff (Language is never, ever, ever, random, Corpus Linguistics and Linguistic Theory , 2005; 1(2): 263–76.), the use of the χ 2 and log-likelihood ratio tests is problematic in this context, as they are based on the assumption that all samples are statistically independent of each other. However, words within a text are not independent. As pointed out in Kilgarriff (Comparing corpora, International Journal of Corpus Linguistics , 2001; 6(1): 1–37) and Paquot and Bestgen (Distinctive words in academic writing: a comparison of three statistical tests for keyword extraction. In Jucker, A., Schreier, D., and Hundt, M. (eds), Corpora: Pragmatics and Discourse . Amsterdam: Rodopi, 2009, pp. 247–69), it is possible to represent the data differently and employ other tests, such that we assume independence at the level of texts rather than individual words. This allows us to account for the distribution of words within a corpus. In this article we compare the significance estimates of various statistical tests in a controlled resampling experiment and in a practical setting, studying differences between texts produced by male and female fiction writers in the British National Corpus. We find that the choice of the test, and hence data representation, matters. We conclude that significance testing can be used to find consequential differences between corpora, but that assuming independence between all words may lead to overestimating the significance of the observed differences, especially for poorly dispersed words. We recommend the use of the t-test, Wilcoxon rank-sum test, or bootstrap test for comparing word frequencies across corpora.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing
Benjamini, Y., & Hochberg, Y. (1995) · Journal of the Royal Statistical Society Series B: Statistical Methodology · doi:10.1111/j.2517-6161.1995.tb02031.x · Cited by 109,482 · cited 1×
“After we control for a false discovery rate (FDR; Benjamini and Hochberg, 1995) at α = 0.05, which controls the expected relative number of false positives over all positives, the bootstrap test returns 74 words (occurring 5,000 times or more in both corpora) whose frequency differs significantly…”
MethodInfluentialAn Introduction to the Bootstrap
Efron, B., & Tibshirani, R. J. (1994) · doi:10.1201/9780429246593 · Cited by 40,500
An Introduction to the Bootstrap
Efron, B., & Tibshirani, R. J. (1993) · doi:10.1007/978-1-4899-4541-9 · Cited by 21,230
Individual Comparisons by Ranking Methods
Wilcoxon, F. (1945) · Biometrics Bulletin · doi:10.2307/3001968 · Cited by 15,354
On a Test of Whether one of Two Random Variables is Stochastically Larger than the Other
Mann, H. B., & Whitney, D. R. (1947) · The Annals of Mathematical Statistics · doi:10.1214/aoms/1177730491 · Cited by 14,320 · cited 2×
“It is based on the fact that if the distributions of q for two corpora are equal, then it is possible to induce a probability distribution over the rank orders (Wilcoxon, 1945; Mann and Whitney, 1947).”
BackgroundThe Kolmogorov-Smirnov Test for Goodness of Fit
Massey, F. J. (1951) · Journal of the American Statistical Association · doi:10.1080/01621459.1951.10500769 · Cited by 7,210
THE GENERALIZATION OF ‘STUDENT'S’ PROBLEM WHEN SEVERAL DIFFERENT POPULATION VARLANCES ARE INVOLVED
WELCH, B. L. (1947) · Biometrika · doi:10.1093/biomet/34.1-2.28 · Cited by 4,135
An Introduction to the Bootstrap.
Buckland, S. T., Efron, B., & Tibshirani, R. J. (1994) · Biometrics · doi:10.2307/2532810 · Cited by 3,103
Language style as audience design
Bell, A. (1984) · Language in Society · doi:10.1017/s004740450001037x · Cited by 2,904 · cited 1×
“Previous research indicates that audience design is relevant in spoken interaction, and style shifting is typically a response to the speaker’s audience (Bell, 1984).”
BackgroundAccurate methods for the statistics of surprise and coincidence
Dunning, T. E. (1993) · doi:10.5555/972450.972454 · Cited by 2,647
On the adaptive control of the false discovery rate in multiple testing with independent statistics
Benjamini, Y., & Hochberg, Y. (2000) · Journal of Educational and Behavioral Statistics · doi:10.3102/10769986025001060 · Cited by 2,015
Shaffer, J. P. (1995) · Annual Review of Psychology · doi:10.1146/annurev.ps.46.020195.003021 · Cited by 1,960 · cited 3×
“We can convert this to a two-tailed p-value (Dudoit et al., 2003) using the following equation:”
MethodDimensions of Register Variation: A Cross-Linguistic Comparison
Biber, D. (1995) · Cambridge University Press eBooks · doi:10.1017/cbo9780511519871 · Cited by 1,270
Multiple Hypothesis Testing in Microarray Experiments
Dudoit, S., Shaffer, J. P., & Boldrick, J. C. (2003) · Statistical Science · doi:10.1214/ss/1056397487 · Cited by 1,075 · cited 2×
“For a review of multiple hypothesis correction methods see Shaffer (1995) or Dudoit et al. (2003).”
MethodTestU01: A C library for empirical testing of random number generators
L'Ecuyer, P., & Simard, R. (2007) · ACM Transactions on Mathematical Software · doi:10.1145/1268776.1268777 · Cited by 1,014 · cited 2×
“…been published in Lijffijt (2013), while for example Schweder and Spjøtvoll (1982) study the uniformity of p-values for multiple-hypotheses adjustment procedures, and L’Ecuyer and Simard (2007) use the Kolmogorov-Smirnov test (also used here) to measure the uniformity of random number generators.”
MethodGender differences in language use: An analysis of 14,000 text samples
Newman, M. L., Groom, C. J., Handelman, L. D., & Pennebaker, J. W. (2008) · Discourse Processes · doi:10.1080/01638530802073712 · Cited by 788 · cited 1×
“However, the list of words for female-authored fiction also includes a male personal pronoun, him, and men appear to significantly overuse the first-person singular pronouns I and my, which is surprising in view of our general knowledge of gendered styles (Argamon et al., 2003; Newman et al., 2008).”
BackgroundFrom key words to key semantic domains
Rayson, P. (2008) · International Journal of Corpus Linguistics · doi:10.1075/ijcl.13.4.06ray · Cited by 751 · cited 2×
“A general account on how to employ hypothesis testing or keyword analysis for comparing corpora can be found in Rayson (2008).”
BackgroundMethodDimensions of Register Variation: A Cross-Linguistic Comparison
Nunnally, T. E., & Biber, D. (1999) · Language · doi:10.2307/417491 · Cited by 716
Permutation, Parametric and Bootstrap Tests of Hypotheses
(2005) · Springer Series in Statistics · doi:10.1007/b138696 · Cited by 707
The statistics of word cooccurrences : word pairs and collocations
Evert, S. (2005) · OPUS Publication Server of the University of Stuttgart (University of Stuttgart) · doi:10.18419/opus-2556 · Cited by 636 · cited 2×
“The reliance on this assumption when computing the statistical significance of differences in word frequencies has been challenged previously; see, for example, Evert (2005) and Kilgarriff (2005). debated but remains, in our view, a valuable tool for linguists.”
BackgroundComparing corpora using frequency profiling
Rayson, P., & Garside, R. (2000) · Proceedings of the workshop on Comparing corpora - · doi:10.3115/1117729.1117730 · Cited by 590 · cited 3×
“We find that some statistical tests that are commonly used in corpus linguistics, such as the 2 and log-likelihood ratio tests (Dunning, 1993; Rayson and Garside, 2000), are anti-conservative, that is, their p-values are excessively low, when we assume that a corpus is a collection of…”
BackgroundMethodGender, genre, and writing style in formal written texts
ARGAMON, S., KOPPEL, M., FINE, J., & SHIMONI, A. R. (2003) · Text - Interdisciplinary Journal for the Study of Discourse · doi:10.1515/text.2003.014 · Cited by 560 · cited 2×
“However, the list of words for female-authored fiction also includes a male personal pronoun, him, and men appear to significantly overuse the first-person singular pronouns I and my, which is surprising in view of our general knowledge of gendered styles (Argamon et al., 2003; Newman et al., 2008).”
BackgroundInfluentialDispersions and adjusted frequencies in corpora
Gries, S. T. (2008) · International Journal of Corpus Linguistics · doi:10.1075/ijcl.13.4.02gri · Cited by 536
Lee, D. (2002) · Teaching and Learning by Doing Corpus Analysis · doi:10.1163/9789004334236_021 · Cited by 515 · cited 3×
“The first occurrence must be sampled from a different distribution (Lijffijt et al., 2011). After we obtain the index of the first occurrence, we sample uniformly at random an inter-arrival time from the empirical inter-arrival time distribution and insert a new occurrence of q at the position given by this inter-arri…”
BackgroundMethodInfluentialPlots of P-values to evaluate many tests simultaneously
SCHWEDER, T., & SPJØTVOLL, E. (1982) · Biometrika · doi:10.1093/biomet/69.3.493 · Cited by 434 · cited 1×
“A similar kind of experiment has been published in Lijffijt (2013), while for example Schweder and Spjøtvoll (1982) study the uniformity of p-values for multiple-hypotheses adjustment procedures, and L’Ecuyer and Simard (2007) use the Kolmogorov-Smirnov test (also used here) to measure the…”
MethodA Note on the Calculation of Empirical P Values from Monte Carlo Procedures
North, B. V., Curtis, D., & Sham, P. C. (2002) · The American Journal of Human Genetics · doi:10.1086/341527 · Cited by 423 · cited 1×
“(6) Because the p-value is an empirical estimate and the real p-value that we are approximating may be small, the use of smoothing is appropriate (North et al., 2002).”
BackgroundGender and genre variation in weblogs
Herring, S. C., & Paolillo, J. C. (2006) · Journal of Sociolinguistics · doi:10.1111/j.1467-9841.2006.00287.x · Cited by 405 · cited 1×
“In weblogs, for example, the diary subgenre is reported to display more ‘female’ stylistic features, and the filter subgenre contains more ‘male’ stylistic features; in both cases the findings are independent of the gender of the author (Herring and Paolillo, 2006).”
BackgroundLanguage is never, ever, ever, random
Kilgarriff, A. (2005) · Corpus Linguistics and Linguistic Theory · doi:10.1515/cllt.2005.1.2.263 · Cited by 403 · cited 4×
“The reliance on this assumption when computing the statistical significance of differences in word frequencies has been challenged previously; see, for example, Evert (2005) and Kilgarriff (2005). debated but remains, in our view, a valuable tool for linguists.”
BackgroundMethodInfluentialRayson, P., Leech, G. N., & Hodges, M. (1997) · International Journal of Corpus Linguistics · doi:10.1075/ijcl.2.1.07ray · Cited by 241 · cited 1×
“6.1 The Bootstrap Test Past research on the BNC reports statistically significant gender differences in wordfrequency distributions in conversation (e.g. Rayson et al., 1997) and in both the fiction and non-fiction genres (e.g. Argamon et al., 2003).”
InfluentialCorpus Linguistics with BNCweb - a Practical Guide
Hoffmann, S., Evert, S., Smith, N., Lee, D., & Prytz, Y. B. (2008) · University of Salford Institutional Repository (University of Salford) · Cited by 224
Extending the Cochran rule for the comparison of word frequencies between corpora
Rayson, P., Berridge, D. M., & Francis, B. J. (2004) · Lancaster EPrints (Lancaster University) · Cited by 213
Beyond Word Frequency: Bursts, Lulls, and Scaling in the Temporal Distributions of Words
Altmann, E. G., Pierrehumbert, J. B., & Motter, A. E. (2009) · PLoS ONE · doi:10.1371/journal.pone.0007678 · Cited by 191 · cited 1×
“…the inter-arrival time distribution to define a corrected frequency that captures whether words that are frequent in a corpus are ``common’’ or not, and Altmann et al. (2009) reports that the inter-arrival time distribution of a word, as summarized in a burstiness parameter, is a good predictor…”
BackgroundNull-hypothesis significance testing of word frequencies: a follow-up on Kilgarriff
Gries, S. T. (2005) · Corpus Linguistics and Linguistic Theory · doi:10.1515/cllt.2005.1.2.277 · Cited by 168
Historical Change in the Language Use of Women and Men: Gender Differences in Dramatic Dialogue
Biber, D., & Burges, J. (2000) · Journal of English Linguistics · doi:10.1177/00754240022004857 · Cited by 155 · cited 1×
“These are all indicators that femaleauthored fiction employs a more involved, colloquial style than male-authored fiction, which, by contrast, is marked by features associated with an informational, nounoriented style (for these distinctions, see Biber, 1995, pp. 107–120; Biber and Burges, 2000).”
BackgroundMid-P Confidence Intervals: A Brief Review
Berry, G., & Armitage, P. (1995) · The Statistician · doi:10.2307/2348891 · Cited by 144 · cited 2×
“The one-tailed p-value is given by the mid-P test (Berry and Armitage, 1995):”
MethodInfluentialOakes, M., & Farrow, M. (2006) · Literary and Linguistic Computing · doi:10.1093/llc/fql044 · Cited by 125 · cited 3×
“Paquot and Bestgen (2009) present a study of the similarities and differences between the t-test, the log-likelihood ratio test, and the Wilcoxon rank-sum test; however, their study is also limited to qualitative analysis of the differences.”
BackgroundSavický, P., & Hlaváčová, J. (2002) · Journal of Quantitative Linguistics · doi:10.1076/jqul.9.3.215.14124 · Cited by 115 · cited 1×
“Savický and Hlaváčová (2002) use the inter-arrival time distribution to define a corrected frequency that captures whether words that are frequent in a corpus are ``common’’ or not, and Altmann et al. (2009) reports that the inter-arrival time distribution of a word, as summarized in a…”
BackgroundPaquot, M., & Bestgen, Y. (2009) · BRILL eBooks · doi:10.1163/9789042029101_014 · Cited by 99 · cited 5×
“As pointed out in Kilgarriff (2001) and Paquot & Bestgen (2009), it is possible to represent the data differently and employ other tests, such as the t-test, or the Wilcoxon rank-sum test, such that we assume independence at the level of texts rather than individual words.”
BackgroundMethodResultInfluentialProceedings of the workshop on Comparing corpora -
(2000) · doi:10.3115/1117729 · Cited by 62
How to Handle Small Samples: Bootstrap and Bayesian Methods in the Analysis of Linguistic Change
Hinneburg, A., Mannila, H., Kaislaniemi, S., Nevalainen, T., & Raumolin‐Brunberg, H. (2006) · Literary and Linguistic Computing · doi:10.1093/llc/fqm006 · Cited by 55
Self-citationCEECing the baseline: lexical stability and significant change in a historical corpus
Lijffijt, J., Säily, T., & Nevalainen, T. (2012) · Ghent University Academic Bibliography (Ghent University) · Cited by 48
Self-citationp -values for model evaluation
Beaujean, F., Caldwell, A. C., Kollár, D., & Kroeninger, K. A. (2011) · Physical review. D. Particles, fields, gravitation, and cosmology/Physical review. D. Particles and fields · doi:10.1103/physrevd.83.012004 · Cited by 27 · cited 1×
“When assessing a statistical testing procedure, testing for uniformity of p-values, either visually or by a statistical test, is a common practice in many disciplines such as particle physics; see e.g. Figures 2–6, 8-9, and 11–12 in Beaujean et al. (2011).”
MethodAnalyzing Word Frequencies in Large Text Corpora Using Inter-arrival Times and Bootstrapping
Lijffijt, J., Papapetrou, P., Puolamäki, K., & Mannila, H. (2011) · Lecture notes in computer science · doi:10.1007/978-3-642-23783-6_22 · Cited by 23 · cited 5×
“Lijffijt et al. (2011) illustrate that the bootstrap and inter-arrival time tests provide more conservative p-values than those that are provided by bag-of-wordsbased models (i.e. tests based on the assumption that all words are statistically independent), which includes the 2 and log-likelihood…”
BackgroundMethodInfluentialSelf-citation
Cited by
Log-likelihood and odds ratio: Keyness statistics for different purposes of keyword analysis
Pojanapunya, P., & Watson Todd, R. (2018) · Corpus Linguistics and Linguistic Theory · doi:10.1515/cllt-2015-0030 · Cited by 188
C4Corpus: Multilingual Web-size Corpus with Free License
Habernal, I., Zayed, O., & Gurevych, I. (2016) · Proceedings of the Language Resources and Evaluation Conference · doi:10.63317/3iti4i8msr33 · Cited by 30
“These can follow methodologies proposed by Lijffijt et al. (2014) or Sharoff (2013).”
Method
Metadata
- Authors
- Lijffijt, J., Nevalainen, T., Säily, T., Papapetrou, P., Puolamäki, K., & Mannila, H.
- Venue
- Digital Scholarship in the Humanities
- Publisher
- Oxford University Press (OUP)
- Published
- 2014-12-08
- Volume
- 31
- Issue
- 2
- Pages
- 374-397
- ISSN
- 2055-7671 (ISSN-L)
- 2055-768X
- OpenAlex
- W2159553441
- Cited by
- 159
- References
- 43
- FWCI
- 140.11
- Type
- journal article
- Language
- en
- Open access
- green
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.