<p dir="auto">All hypothesis tests should get a keyword <code class="notranslate">alternative</code> where applicable, with naming <code class="notranslate">{'two-sided', 'less', 'greater'}</code>. Tests that do have them now are:</p>
<ul dir="auto">
<li><code class="notranslate">kstest</code>, added in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/scipy/scipy/commit/3e3e8eaef5ff26148c3f79c925b4d20b15e05988/hovercard" href="https://github.com/scipy/scipy/commit/3e3e8eaef5ff26148c3f79c925b4d20b15e05988"><tt>3e3e8ea</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/scipy/scipy/commit/7cf664323b03595e519a426ea612e5f4f4587a08/hovercard" href="https://github.com/scipy/scipy/commit/7cf664323b03595e519a426ea612e5f4f4587a08"><tt>7cf6643</tt></a></li>
<li><code class="notranslate">fisher_exact</code>, added in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="13651771" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/1919" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/1919/hovercard" href="https://github.com/scipy/scipy/issues/1919">gh-1919</a></li>
</ul>
<p dir="auto">There are open issues to add <code class="notranslate">alternative</code> to:</p>
<ul dir="auto">
<li><code class="notranslate">ks_2samp</code>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="13652865" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/2290" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/2290/hovercard" href="https://github.com/scipy/scipy/issues/2290">gh-2290</a></li>
<li><code class="notranslate">binom_test</code>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="13653229" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/2417" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/2417/hovercard" href="https://github.com/scipy/scipy/issues/2417">gh-2417</a> (with code to copy)</li>
<li><code class="notranslate">mannwhitney</code>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="13652350" data-permission-text="Title is private" data-url="https://github.com/scipy/scipy/issues/2118" data-hovercard-type="issue" data-hovercard-url="/scipy/scipy/issues/2118/hovercard" href="https://github.com/scipy/scipy/issues/2118">gh-2118</a> (more extensive issue, but includes link to a commit from <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/josef-pkt/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/josef-pkt">@josef-pkt</a> that adds the keyword).</li>
</ul>
<p dir="auto">Other functions where the keyword could be added:</p>
<ul dir="auto">
<li><code class="notranslate">chi2_contingency</code> (R func: <a href="http://rpackages.ianhowson.com/rforge/corpora/man/chisq.html" rel="nofollow">http://rpackages.ianhowson.com/rforge/corpora/man/chisq.html</a>)</li>
<li><code class="notranslate">zscore</code> (R func: <a href="http://rpackages.ianhowson.com/rforge/corpora/man/z_score_pval.html" rel="nofollow">http://rpackages.ianhowson.com/rforge/corpora/man/z_score_pval.html</a>)</li>
<li>the various <code class="notranslate">ttest</code>s (now only two-sided; R: <a href="http://stat.ethz.ch/R-manual/R-patched/library/stats/html/t.test.html" rel="nofollow">http://stat.ethz.ch/R-manual/R-patched/library/stats/html/t.test.html</a>)</li>
<li>what else?</li>
</ul>
<p dir="auto">I wouldn't normally post this here but the docs.scipy.org and mail.scipy.org domains are down and have been for almost 3 days, so the docs and mailing lists aren't working (so I can post to the mailing list itself). Feel free to close if this is already being looked into.</p>
<p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pv">@pv</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rgommers/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rgommers">@rgommers</a></p>