fye_compute: Fisher's Exact Test

Description Usage Arguments Value

View source: R/fye.R

Description

Perform one-tailed Fisher's Exact test for the collostruction/collocation strength. The p-value is log-transformed to the base of ten as in the Collostructional Analysis. This is an internal function called via collex_fye.

Usage

1
fye_compute(a, a_exp, b, c, d)

Arguments

a

observed co-occurrence frequency of a given collocate and the nodeword.

a_exp

expected co-occurrence frequency of the collocate and the nodeword.

b

co-occurrence frequency of the collocate with other words in the corpus.

c

co-occurrence frequency of the nodeword with other words in the corpus.

d

co-occurrence frequency of other words in the corpus.

Value

Numeric vectors of p-values


gederajeg/collogetr documentation built on April 16, 2020, 11:58 a.m.