scipy/scipy — pull request #2559 by WarrenWeckesser (2013-06-11 20:37:13+00:00)
Title: ENH: stats: Add the 'g-test' option to the chisquare functions

The 'method' keyword is added to stats.chisquare, stats.mstats.chisquare,
and stats.contingency.chi2_contingency. By setting 'method="g-test"',
the G-test (likelihood ratio) is used instead of Pearson's chi-squared.