使用置换检验评估关键词性(Keyness)
Assessing Keyness using Permutation Tests
AI总结:
针对传统关键词性检验的逐词元抽样模型易产生假阳性的问题,提出基于文档抽样的置换检验方法,适用于任意关键词性得分,可得到更准确的p值,已实现为R包keyperm。
摘要:
我们基于Gries(2006, 2022)的建议,提出了一种基于重抽样的语料库语言学关键词性评估方法。基于假设检验(如似然比检验Likelihood Ratio)的传统方法将语料库建模为词元的独立同分布样本,该模型无法解释词项在语料库中分布不均这一常见现象。当某词的出现集中在少数文档中时,LLR及类似指标的高值出现概率远高于逐词元抽样模型的预期,进而导致假阳性结果。\n 我们用“语料库是文档样本而非词元样本”的模型替代逐词元抽样模型,这更贴近语料库的实际构建方式。随后我们采用置换方法,近似零假设(词频相等)下给定关键词性得分的分布,并得到用于评估显著性的p值。该方法无需对词元在文档内或文档间的组织方式做任何假设,且基本适用于**任意**关键词性得分。因此,除了能为LLR等得分得到更准确的p值外,我们还能评估例如logratio(对数比,被提出作为效应量指标)的显著性。\n 该方法的高效实现已集成在GitHub上的`R`包`keyperm`中。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。