English subtitles

← 36-24 Regression_5

36-24 Regression_5

Get Embed Code
3 Languages

Showing Revision 2 created 11/02/2015 by Udacity Robot.

  1. The final thing I want to teach you is how to calculate a.
  2. There is a simple formula as well, and the insight here is you already know b
  3. and we know that bx+a results to y for all linear function.
  4. Now, what happens to be true is if we take the average x and the average y,
  5. then this equation is still correct.
  6. Now, we can resort the terms--a=y-bar - b*-bar, so that's the formula for a.
  7. Now, the formula for b and we have the formula for a. That's really cool.
  8. Let's apply this here and see what your value for a would be.
  9. Just give me the answer based on plugging the means
  10. into the formula over here using the appropriate b.