.. _book_fig_chapter5_fig_poisson_comparison: Poisson Statistics with arbitrarily small bins ---------------------------------------------- Figure 5.16 The comparison of the continuous method (figure 5.14) and the binned method (figure 5.15) on the same data set. In the limit of a large number of bins, most bins register only zero or one count, and the binned Poisson statistic gives nearly the same marginalized distribution for a as the continuous statistic. For as few as two bins, the constraint on the slope is only slightly biased. .. image:: ../images/chapter5/fig_poisson_comparison_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_poisson_comparison.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_poisson_comparison.py :lines: 13- .. raw:: html
:download:`[download source: fig_poisson_comparison.py] ` .. raw:: html