Ah yeah that's it. So... is the better change to cap the result of logLikelihoodRatio() at 0.0?
On Thu, Apr 29, 2010 at 5:11 PM, Ted Dunning <ted.dunn...@gmail.com> wrote: > I suspect round-off error. In R I get this for the raw LLR: > >> llr(matrix(c(6,7567, 1924, 2426487), nrow=2)) > [1] 3.380607e-11 > > A slightly different implementation might well have gotten a small negative > number here.