.. _book_fig_chapter3_fig_contingency_table: A 2x2 Contingency Table ----------------------- Figure 3.3. A contingency table showing p(T|D). .. image:: ../images/chapter3/fig_contingency_table_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_contingency_table.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_contingency_table.py :lines: 8- .. raw:: html
:download:`[download source: fig_contingency_table.py] ` .. raw:: html