Trendline with no intercept

Summary

  • A trendline with no intercept :

y=b2x

  • OLS fitted values: ^yi=b2xii=1,,n
  • OLS residuals: ei=yi^yi=yib2xii=1,,n
  • Minimizing RSS gives us the no-intercept OLS formula for b2 :

b2=ni=1xiyini=1x2i