Difference between revisions of "Tips kang"

From Crop Genomics Lab.
Jump to: navigation, search
Line 2: Line 2:
 
from scipy import stats<br />
 
from scipy import stats<br />
 
oddsratio, pvalue = stats.fisher_exact([[A,B], [C, D]]) <ref name="fishers exact">[http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.fisher_exact.html scipy, fisher's exact] </ref><br />
 
oddsratio, pvalue = stats.fisher_exact([[A,B], [C, D]]) <ref name="fishers exact">[http://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.fisher_exact.html scipy, fisher's exact] </ref><br />
 +
 +
'''Excel'''<br />
 +
=TEXT(2.2323,"(0.00)")
 +
(2.23)<br />
 +
 
<references />
 
<references />

Revision as of 03:12, 25 February 2014

Fisher's exact test in python
from scipy import stats
oddsratio, pvalue = stats.fisher_exact([[A,B], [C, D]]) [1]

Excel
=TEXT(2.2323,"(0.00)") (2.23)

  1. scipy, fisher's exact