Yes. There is for the 2x2 case that arises with cooccurrence. Simply take the square root and apply a sign according to signum(k11/k1* - k*1 / k**).
There is code in mahout with a name like rootLLR that computes this. Sent from my iPhone On Jun 21, 2012, at 2:01 PM, Nimrod Priell <[email protected]> wrote: > I am wondering if there's a way to detect whether the deviation from > independence is of the type that the co-occurrance is under-represented or > over-represented w.r.t random sampling. Ideally, I'd like a measure on, say, > (-inf, inf) where if the result is negative there is under-representation of > the class where both A and B occur, and if it is positive, there is an > overabundance of samples with (A intersection B).
