Simple Linear Regression has an important distinction, X is assumed to be not random. Because of this assumption, the graph of the function is the curve of regression of Y on X, or Y as a function of X. In other words, Y is the dependent variable and X is the independent variable.
Yi = β0 + β1x + Ei
To approximate the β values, the Least Squares Method is employed. We take the sum of squares of the errors (SSE) and differentiate with respect to each β. Everything is then rearranged to solve for the βs. I have posted my derivation that I worked out by hand.* Enjoy!
*If you can't read my work this derivation can easily be found online.
No comments:
Post a Comment
Share whatever you would like to!