Updates |

23 Dec 2011 |
Improved documentation and help. Improved performance for single tests. |

17 Jan 2012 |
Now can handle large number of observations in a single trial with minimal footprint.
If X = [7.9 7.911; 8 8]*1e6
fexact(x(1),sum(x(:)),x(1)+x(3),x(1)+x(2)) returns 0.0498 for a two-sided test; |

17 Jan 2012 |
Has been updated to work with a large sample size if performing a single test. |

19 Apr 2012 |
Fixed a reporting error that may affect results when a single test is done. The error that allowed p-values to be larger than 1 to be reported. p-values smaller than one should not be affected. |

19 Apr 2012 |
fixed bug in detecting error conditions |

12 Jun 2012 |
changed to allow permutation testing in 2012a. Added a graphic to help explain contingency table |

05 Dec 2013 |
Chris Rorden added support for single-sided Leibermeister tests, which corrects for uncertaintity in the marginal sums.
Fixed bug in some two-tailed tests when performing tests on a single observation (doesn't affect vectorized tests) |

20 Dec 2014 |
Improved speed for large number of observations.
Slightly improved performance for large number of separate tests.
Updated documentation |

20 Dec 2014 |
Improved speed for large number of observations.
Slightly improved performance for large number of separate tests.
Updated documentation |