The least-squares slope is calculated as the sum of the products of centered x and y values, divided by the sum of squared centered x values. Mathematically, this is Σ[(xi−xˉ)(yi−yˉ)]/Σ(xi−xˉ)2.
Conditions: The denominator Σ(xi−xˉ)2 is positive.; The model is simple linear regression with an intercept.
The least-squares slope is calculated as the sum of the products of centered x and y values, divided by the sum of squared centered x values. Mathematically, this is Σ[(xi−xˉ)(yi−yˉ)]/Σ(xi−xˉ)2.
Conditions: The denominator Σ(xi−xˉ)2 is positive.; The model is simple linear regression with an intercept.