Statistical library package to calculate the Loglikelihood ratio. This package should be used with statistic.pl and rank.pl.
The log-likelihood ratio measures the devitation between the observed data and what would be expected if <word1> and <word2> were independent. The higher the score, the less evidence there is in favor of concluding that the words are independent.
Ted Pedersen <firstname.lastname@example.org>
Satanjeev Banerjee <email@example.com>
Bridget Thomson McInnes <firstname.lastname@example.org>
This measure currently only defined for bigram data stored in 2x2 contingency table.
Mailing List: http://groups.yahoo.com/ngram
Copyright 2000-2004 by Ted Pedersen and Satanjeev Banerjee
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.