Simple linear regression: Difference between revisions

Content deleted Content added
Expanded Formulas: added information on deriving linear regression equations from the more general polynomial regression equations.
Expanded Formulas: punctuation
Line 44:
 
=== Expanded Formulas ===
The above equations are efficient to use if the mean of the x and y variables (<math>\bar{x} \text{ and } \bar{y}</math>) are known. If the means are not known at the time of calculation, it may be more efficient to use the expanded version of the <math>\widehat\alpha\text{ and }\widehat\beta</math> equations. These equations may be derived from the more general [[polynomial regression]] equations<ref name=":1" /> by defining the regression polynomial to be of order 1, as follows.
 
<math>\begin{bmatrix}