I'm trying to calculate PMI using probabilities estimated using binary occurrence counts from a set of documents. In short:
$P(x)$ = # documents x appears in / # documents
$P(y)$ = # documents y appears in / # documents
$P(x,y)$ = # documents x and y appear in / # documents
$PMI(x,y) = log\left(\frac{P(x, y)}{P(x)P(y)}\right)$
My question is: how do I handle the case where $P(x,y)=0$ , where $x$ and $y$ appear in no documents together?