Trendline with no intercept
Summary
- A trendline with no intercept :
y=b2x
- OLS fitted values: ^yi=b2xii=1,…,n
- OLS residuals: ei=yi−^yi=yi−b2xii=1,…,n
- Minimizing RSS gives us the no-intercept OLS formula for b2 :
b2=∑ni=1xiyi∑ni=1x2i
Summary
y=b2x
b2=∑ni=1xiyi∑ni=1x2i