Astronomy and Space Exploration ES

Glossary / L / Mathematics and numerical methods

Linear regression

Also: regression · least squares · least-squares · fitted line · linear fit · best-fit line · line of best fit · best fit line

Illustration: Linear regression

Drawing the line that best passes "through the middle" of a cloud of points. That is how Hubble found that the velocity of galaxies grows with their distance, and the slope of that line is his famous constant.

Going further

It minimizes χ2=∑i(yi−a−bxi)2\chi^{2} = \sum_i (y_i - a - bx_i)^{2}: b=∑(xi−xˉ)(yi−yˉ)∑(xi−xˉ)2b = \dfrac{\sum(x_i - \bar x)(y_i - \bar y)}{\sum(x_i - \bar x)^{2}}, a=yˉ−bxˉa = \bar y - b\bar x. With weights 1/σi21/\sigma_i^{2} one obtains the weighted version and the uncertainties of aa and bb.

Where it is explained: The universe is expanding Secondary Education

Related terms

Used in these lessons

← Whole glossaryLessons at this level →