Simple Linear Regression | |||
Pages:
01_intro 02_formulas 03_data 04_implementation 05_gradient_descent 99_formulas 99_nitty_gritty One Page |
02_formulas
20160102
FormulasThe estimated slope w₁ and intercept w₀ can be calculated using following formulas. Formula 1Formula 2(derivation: see end of this article) Formula 3Coefficient w₁-hat expressed as a product of the correlation between y-values and x-values, and the fraction of standard-deviation of y-values over standard deviation of x-values: NoteIn above formulas read the sigma as sum from i=1 to n: |