blob: 015e00da67bcf6eaf41616723a86af464098f865 [file] [log] [blame]
Marc Kupietze2038322021-03-04 18:24:02 +01001% Generated by roxygen2: do not edit by hand
2% Please edit documentation in R/association-scores.R
3\name{pmi}
4\alias{pmi}
5\title{Pointwise mutual information}
6\usage{
7pmi(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\value{
23association score
24}
25\description{
26Pointwise mutual information
27}
28\seealso{
29Other association-score-functions:
30\code{\link{defaultAssociationScoreFunctions}()},
31\code{\link{ll}()},
32\code{\link{logDice}()},
33\code{\link{mi2}()},
34\code{\link{mi3}()}
35}
36\concept{association-score-functions}