Changeset 1624 for branches/0.4stable/yat/statistics/Fisher.h
 Timestamp:
 Nov 12, 2008, 11:10:52 PM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

branches/0.4stable/yat/statistics/Fisher.h
r1621 r1624 118 118 const unsigned int& minimum_size(void) const; 119 119 120 / //121 /// If oddsratio is larger than unity, twosided pvalue is equal122 /// to 2*p_value_one_sided(). If oddsratio is smaller than unity123 /// twosided pvalue is equal to 2*(1p_value_one_sided()). If124 /// oddsratio is unity twosided pvalue is equal to unity.125 ///126 /// If all elements in table is at least minimum_size(), a Chi2127 /// approximation is used.128 /// 129 /// @return 2sided pvalue130 ///120 /** 121 If all elements in table is at least minimum_size(), a Chi2 122 approximation is used. 123 124 Otherwise a twosided pvalue is calculated using the 125 hypergeometric distribution 126 \f$ \sum_k P(k) \f$ where summation runs over \a k such that 127 \f$ k<a> \ge a<a> \f$. 128 129 \return twosided pvalue 130 */ 131 131 double p_value() const; 132 132
Note: See TracChangeset
for help on using the changeset viewer.