Marc Kupietz | e203832 | 2021-03-04 18:24:02 +0100 | [diff] [blame] | 1 | % Generated by roxygen2: do not edit by hand |
| 2 | % Please edit documentation in R/association-scores.R |
| 3 | \name{ll} |
| 4 | \alias{ll} |
| 5 | \title{Log likelihood} |
| 6 | \usage{ |
| 7 | ll(O1, O2, O, N, E, window_size) |
| 8 | } |
| 9 | \arguments{ |
| 10 | \item{O1}{observed absolute frequency of node} |
| 11 | |
| 12 | \item{O2}{observed absolute frequency of collocate} |
| 13 | |
| 14 | \item{O}{observed absolute frequency of collocation} |
| 15 | |
| 16 | \item{N}{corpus size} |
| 17 | |
| 18 | \item{E}{expected absolute frequency of collocation (already adjusted to window size)} |
| 19 | |
| 20 | \item{window_size}{total window size around node (left neighbour count + right neighbour count)} |
| 21 | } |
| 22 | \description{ |
| 23 | Log likelihood |
| 24 | } |
| 25 | \references{ |
| 26 | Dunning, T. (1993): Accurate methods for the statistics of surprise and coincidence. Comput. Linguist. 19, 1 (March 1993), 61-74. |
| 27 | |
| 28 | Evert, Stefan (2004): The Statistics of Word Cooccurrences: Word Pairs and Collocations. PhD dissertation, IMS, University of Stuttgart. Published in 2005, URN urn:nbn:de:bsz:93-opus-23714. |
| 29 | Free PDF available from <http://purl.org/stefan.evert/PUB/Evert2004phd.pdf> |
| 30 | } |
| 31 | \seealso{ |
| 32 | Other association-score-functions: |
| 33 | \code{\link{defaultAssociationScoreFunctions}()}, |
| 34 | \code{\link{logDice}()}, |
| 35 | \code{\link{mi2}()}, |
| 36 | \code{\link{mi3}()}, |
| 37 | \code{\link{pmi}()} |
| 38 | } |
| 39 | \concept{association-score-functions} |