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{mi2} |
| 4 | \alias{mi2} |
| 5 | \title{Pointwise mutual information squared} |
| 6 | \usage{ |
| 7 | mi2(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 | Pointwise mutual information squared |
| 24 | } |
| 25 | \details{ |
| 26 | Also referenced to as mutual dependency (MD) |
| 27 | } |
| 28 | \seealso{ |
| 29 | Other association-score-functions: |
| 30 | \code{\link{defaultAssociationScoreFunctions}()}, |
| 31 | \code{\link{ll}()}, |
| 32 | \code{\link{logDice}()}, |
| 33 | \code{\link{mi3}()}, |
| 34 | \code{\link{pmi}()} |
| 35 | } |
| 36 | \concept{association-score-functions} |