Changeset 2686
- Timestamp:
- Feb 25, 2012, 3:47:01 AM (11 years ago)
- Location:
- trunk/yat/statistics
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/statistics/Kendall.cc
r2663 r2686 44 44 and +1 if x>0. 45 45 */ 46 // FIXME: this function is implemented as N^2 but accoding to 47 // http://en.wikipedia.org/wiki/Kendall%27s_tau it can be 48 // implemented as NlogN 46 49 template<typename Iterator1, typename Iterator2> 47 50 long int count(Iterator1 first1, Iterator1 last1, Iterator2 first2) … … 82 85 83 86 84 /// \return one-sided sidedp-value87 /// \return one-sided p-value 85 88 double p_approx(bool right) const 86 89 { -
trunk/yat/statistics/Kendall.h
r2649 r2686 76 76 77 77 /** 78 \brief Spearman rank correlation coefficient78 \brief Kendall's tau 79 79 */ 80 80 double score(void) const;
Note: See TracChangeset
for help on using the changeset viewer.