.. _book_fig_chapter3_fig_correlations: Correlation estimates --------------------- Figure 3.24. Bootstrap estimates of the distribution of Pearson's, Spearman's, and Kendall's correlation coefficients based on 2000 resamplings of the 1000 points shown in figure 3.23. The true values are shown by the dashed lines. It is clear that Pearson's correlation coefficient is not robust to contamination. .. image:: ../images/chapter3/fig_correlations_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_correlations.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_correlations.py :lines: 11- .. raw:: html
:download:`[download source: fig_correlations.py] ` .. raw:: html