.. _sphx_glr_api_gallery_statistics_correlation:
Correlation
-----------
Pearson's product-moment and Spearman's rank correlation coefficients.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/statistics/correlation/images/thumb/sphx_glr_plot_01_galton_pearson_correlation_thumb.png
:alt:
:doc:`/api/gallery/statistics/correlation/plot_01_galton_pearson_correlation`
.. raw:: html
Galton's heights and Pearson's correlation
.. raw:: html
.. only:: html
.. image:: /api/gallery/statistics/correlation/images/thumb/sphx_glr_plot_02_spearman_rank_correlation_thumb.png
:alt:
:doc:`/api/gallery/statistics/correlation/plot_02_spearman_rank_correlation`
.. raw:: html
Spearman's rank correlation
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/statistics/correlation/plot_01_galton_pearson_correlation
/api/gallery/statistics/correlation/plot_02_spearman_rank_correlation