| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>test.extra.test_distributions module — Python(P)DEVS-BBL documentation</title>
- <link rel="stylesheet" href="_static/nature.css" type="text/css" />
- <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
- <link rel="stylesheet" type="text/css" href="_static/custom.css" />
- <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
- <script type="text/javascript" src="_static/jquery.js"></script>
- <script type="text/javascript" src="_static/underscore.js"></script>
- <script type="text/javascript" src="_static/doctools.js"></script>
- <script type="text/javascript" src="_static/language_data.js"></script>
- <script async="async" type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
- <link rel="index" title="Index" href="genindex.html" />
- <link rel="search" title="Search" href="search.html" />
- <link rel="next" title="test.extra.test_fileutils module" href="test.extra.test_fileutils.html" />
- <link rel="prev" title="test.extra package" href="test.extra.html" />
- </head><body>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="genindex.html" title="General Index"
- accesskey="I">index</a></li>
- <li class="right" >
- <a href="py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="test.extra.test_fileutils.html" title="test.extra.test_fileutils module"
- accesskey="N">next</a> |</li>
- <li class="right" >
- <a href="test.extra.html" title="test.extra package"
- accesskey="P">previous</a> |</li>
- <li class="nav-item nav-item-0"><a href="index.html">Python(P)DEVS-BBL documentation</a> »</li>
- <li class="nav-item nav-item-1"><a href="test.html" >test package</a> »</li>
- <li class="nav-item nav-item-2"><a href="test.extra.html" accesskey="U">test.extra package</a> »</li>
- </ul>
- </div>
- <div class="document">
- <div class="documentwrapper">
- <div class="bodywrapper">
- <div class="body" role="main">
-
- <div class="section" id="module-test.extra.test_distributions">
- <span id="test-extra-test-distributions-module"></span><h1>test.extra.test_distributions module<a class="headerlink" href="#module-test.extra.test_distributions" title="Permalink to this headline">¶</a></h1>
- <p>Test all the distributions, making sure they do what they say they do.</p>
- <p>Based on the Kolmogorov-Smirnov goodness-of-fit test for continuous
- distributions, the TestDistributions will actually test the goodness of
- all generators listed in <a class="reference internal" href="pypdevsbbl.extra.rngstreams.distributions.html#module-pypdevsbbl.extra.rngstreams.distributions" title="pypdevsbbl.extra.rngstreams.distributions"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.extra.rngstreams.distributions</span></code></a>.</p>
- <div class="admonition seealso">
- <p class="first admonition-title">See also</p>
- <p class="last"><a class="reference internal" href="pypdevsbbl.extra.rngstreams.distributions.html#module-pypdevsbbl.extra.rngstreams.distributions" title="pypdevsbbl.extra.rngstreams.distributions"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pypdevsbbl.extra.rngstreams.distributions</span></code></a></p>
- </div>
- <dl class="class">
- <dt id="test.extra.test_distributions.TestDistributions">
- <em class="property">class </em><code class="descclassname">test.extra.test_distributions.</code><code class="descname">TestDistributions</code><span class="sig-paren">(</span><em>methodName='runTest'</em><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions" title="Permalink to this definition">¶</a></dt>
- <dd><p>Bases: <code class="xref py py-class docutils literal notranslate"><span class="pre">unittest.case.TestCase</span></code></p>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.setUp">
- <code class="descname">setUp</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.setUp"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.setUp" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_beta">
- <code class="descname">test_beta</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_beta"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_beta" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_binomial">
- <code class="descname">test_binomial</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_binomial"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_binomial" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_cauchy">
- <code class="descname">test_cauchy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_cauchy"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_cauchy" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_chiSquare">
- <code class="descname">test_chiSquare</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_chiSquare"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_chiSquare" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_exponential">
- <code class="descname">test_exponential</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_exponential"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_exponential" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_F">
- <code class="descname">test_F</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_F"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_F" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_frechet">
- <code class="descname">test_frechet</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_frechet"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_frechet" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_gamma">
- <code class="descname">test_gamma</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_gamma"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_gamma" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_geometric">
- <code class="descname">test_geometric</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_geometric"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_geometric" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_gumbel">
- <code class="descname">test_gumbel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_gumbel"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_gumbel" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_JSB">
- <code class="descname">test_JSB</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_JSB"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_JSB" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_JSU">
- <code class="descname">test_JSU</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_JSU"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_JSU" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_laplace">
- <code class="descname">test_laplace</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_laplace"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_laplace" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_logistic">
- <code class="descname">test_logistic</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_logistic"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_logistic" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_loglogistic">
- <code class="descname">test_loglogistic</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_loglogistic"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_loglogistic" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_lognormal">
- <code class="descname">test_lognormal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_lognormal"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_lognormal" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_negbinomial">
- <code class="descname">test_negbinomial</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_negbinomial"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_negbinomial" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_normal">
- <code class="descname">test_normal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_normal"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_normal" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_pareto">
- <code class="descname">test_pareto</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_pareto"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_pareto" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_poisson">
- <code class="descname">test_poisson</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_poisson"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_poisson" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_PT5">
- <code class="descname">test_PT5</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_PT5"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_PT5" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_PT6">
- <code class="descname">test_PT6</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_PT6"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_PT6" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_student">
- <code class="descname">test_student</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_student"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_student" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_triangular">
- <code class="descname">test_triangular</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_triangular"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_triangular" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_uniform">
- <code class="descname">test_uniform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_uniform"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_uniform" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_uniformInt">
- <code class="descname">test_uniformInt</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_uniformInt"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_uniformInt" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_wald">
- <code class="descname">test_wald</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_wald"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_wald" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_weibull">
- <code class="descname">test_weibull</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_weibull"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_weibull" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- <dl class="method">
- <dt id="test.extra.test_distributions.TestDistributions.test_zipf">
- <code class="descname">test_zipf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="reference internal" href="_modules/test/extra/test_distributions.html#TestDistributions.test_zipf"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#test.extra.test_distributions.TestDistributions.test_zipf" title="Permalink to this definition">¶</a></dt>
- <dd></dd></dl>
- </dd></dl>
- </div>
- </div>
- </div>
- </div>
- <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
- <div class="sphinxsidebarwrapper">
- <h4>Previous topic</h4>
- <p class="topless"><a href="test.extra.html"
- title="previous chapter">test.extra package</a></p>
- <h4>Next topic</h4>
- <p class="topless"><a href="test.extra.test_fileutils.html"
- title="next chapter">test.extra.test_fileutils module</a></p>
- <div id="searchbox" style="display: none" role="search">
- <h3>Quick search</h3>
- <div class="searchformwrapper">
- <form class="search" action="search.html" method="get">
- <input type="text" name="q" />
- <input type="submit" value="Go" />
- <input type="hidden" name="check_keywords" value="yes" />
- <input type="hidden" name="area" value="default" />
- </form>
- </div>
- </div>
- <script type="text/javascript">$('#searchbox').show(0);</script>
- </div>
- </div>
- <div class="clearer"></div>
- </div>
- <div class="related" role="navigation" aria-label="related navigation">
- <h3>Navigation</h3>
- <ul>
- <li class="right" style="margin-right: 10px">
- <a href="genindex.html" title="General Index"
- >index</a></li>
- <li class="right" >
- <a href="py-modindex.html" title="Python Module Index"
- >modules</a> |</li>
- <li class="right" >
- <a href="test.extra.test_fileutils.html" title="test.extra.test_fileutils module"
- >next</a> |</li>
- <li class="right" >
- <a href="test.extra.html" title="test.extra package"
- >previous</a> |</li>
- <li class="nav-item nav-item-0"><a href="index.html">Python(P)DEVS-BBL documentation</a> »</li>
- <li class="nav-item nav-item-1"><a href="test.html" >test package</a> »</li>
- <li class="nav-item nav-item-2"><a href="test.extra.html" >test.extra package</a> »</li>
- </ul>
- </div>
- <div class="footer" role="contentinfo">
- © Copyright 2020, Randy Paredis.
- Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.8.5.
- </div>
- </body>
- </html>
|