<div dir="ltr">IIUC "exact" in this context means running all possible re-orderings / exchanges of the data to estimate the null, e.g. for a paired t-test with 10 observations, doing 2 ** 10 permutations / sign flips.<div><br></div><div>Eric</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 5, 2015 at 8:06 AM, Sturla Molden <span dir="ltr"><<a href="mailto:sturla.molden@gmail.com" target="_blank">sturla.molden@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">Jamie Morton <<a href="mailto:jamietmorton@gmail.com">jamietmorton@gmail.com</a>> wrote:<br>
<br>
> But perhaps having an exact p-value calculation for smaller sample sizes<br>
> would be preferable.<br>
<br>
</span>Monte Carlo randomization test is a good solution for rank-sum statistics.<br>
What does "exact" mean anyway?<br>
<br>
MC tests are exact for a given number of significant digits. You just have<br>
to run it until the p-value has converged for the required number of<br>
significant digits.<br>
<span class="HOEnZb"><font color="#888888"><br>
Sturla<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
SciPy-Dev mailing list<br>
<a href="mailto:SciPy-Dev@scipy.org">SciPy-Dev@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/scipy-dev" target="_blank">http://mail.scipy.org/mailman/listinfo/scipy-dev</a><br>
</div></div></blockquote></div><br></div>