.. _sphx_glr_api_gallery_statistics_regression:
Linear regression
--------------------
Ordinary least squares with residual diagnostics.
.. raw:: html
.. thumbnail-parent-div-open
.. raw:: html
.. only:: html
.. image:: /api/gallery/statistics/regression/images/thumb/sphx_glr_plot_01_ols_diagnostics_thumb.png
:alt:
:doc:`/api/gallery/statistics/regression/plot_01_ols_diagnostics`
.. raw:: html
OLS regression with residual diagnostics
.. thumbnail-parent-div-close
.. raw:: html
.. toctree::
:hidden:
/api/gallery/statistics/regression/plot_01_ols_diagnostics