[Scipy-tickets] [SciPy] #956: Include Fisher exact test for 2x2 contingency tables in scipy.stats

SciPy Trac scipy-tickets@scipy....
Wed Nov 17 06:37:12 CST 2010


#956: Include Fisher exact test for 2x2 contingency tables in scipy.stats
-------------------------+--------------------------------------------------
 Reporter:  dsimcha      |       Owner:  somebody
     Type:  enhancement  |      Status:  apply   
 Priority:  normal       |   Milestone:  0.9.0   
Component:  scipy.stats  |     Version:  0.7.0   
 Keywords:  patch        |  
-------------------------+--------------------------------------------------

Comment(by rgommers):

 Josef, just seeing your note on hypergeom.sf now. There is one test that
 shows the issue:
 {{{
     # High tolerance due to survival function inaccuracy.
     res = fisher_exact([[19000, 80000], [20000, 90000]])[1]
     assert_approx_equal(res, 3.319e-9, significant=1)
 }}}
 {{{significant=2}}} fails.

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/956#comment:23>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list