Please use this identifier to cite or link to this item:
https://doi.org/10.21256/zhaw-28571
Publication type: | Working paper – expertise – study |
Title: | Assessing keyness using permutation tests |
Authors: | Mildenberger, Thoralf |
et. al: | No |
DOI: | 10.48550/arXiv.2308.13383 10.21256/zhaw-28571 |
Extent: | 15 |
Issue Date: | Aug-2023 |
Publisher / Ed. Institution: | arXiv |
Other identifiers: | arXiv:2308.13383 |
Language: | English |
Subjects: | Corpus linguistics; Applied statistics |
Subject (DDC): | 400: Language, linguistics 510: Mathematics |
Abstract: | We propose a resampling-based approach for assessing keyness in corpus linguistics based on suggestions by Gries (2006, 2022). Traditional approaches based on hypothesis tests (e.g. Likelihood Ratio) model the copora as independent identically distributed samples of tokens. This model does not account for the often observed uneven distribution of occurences of a word across a corpus. When occurences of a word are concentrated in few documents, large values of LLR and similar scores are in fact much more likely than accounted for by the token-by-token sampling model, leading to false positives. We replace the token-by-token sampling model by a model where corpora are samples of documents rather than tokens, which is much closer to the way corpora are actually assembled. We then use a permutation approach to approximate the distribution of a given keyness score under the null hypothesis of equal frequencies and obtain p-values for assessing significance. We do not need any assumption on how the tokens are organized within or across documents, and the approach works with basically *any* keyness score. Hence, appart from obtaining more accurate p-values for scores like LLR, we can also assess significance for e.g. the logratio which has been proposed as a measure of effect size. An efficient implementation of the proposed approach is provided in the `R` package `keyperm` available from github. |
URI: | https://digitalcollection.zhaw.ch/handle/11475/28571 |
License (according to publishing contract): | Licence according to publishing contract |
Departement: | School of Engineering |
Organisational Unit: | Institute of Data Analysis and Process Design (IDP) |
Appears in collections: | Publikationen School of Engineering |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
2023_Mildenberger_Assessing-keyness-using-permutation-tests.pdf | 595.35 kB | Adobe PDF | View/Open |
Show full item record
Mildenberger, T. (2023). Assessing keyness using permutation tests. arXiv. https://doi.org/10.48550/arXiv.2308.13383
Mildenberger, T. (2023) Assessing keyness using permutation tests. arXiv. Available at: https://doi.org/10.48550/arXiv.2308.13383.
T. Mildenberger, “Assessing keyness using permutation tests,” arXiv, Aug. 2023. doi: 10.48550/arXiv.2308.13383.
MILDENBERGER, Thoralf, 2023. Assessing keyness using permutation tests. arXiv
Mildenberger, Thoralf. 2023. “Assessing Keyness Using Permutation Tests.” arXiv. https://doi.org/10.48550/arXiv.2308.13383.
Mildenberger, Thoralf. Assessing Keyness Using Permutation Tests. arXiv, Aug. 2023, https://doi.org/10.48550/arXiv.2308.13383.
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.