Topic: Linear regression, how to find a and b? Plz help
Hello,
Okay so when I type in the following information:
X,Y
2007,195
2008,190
2009,161
2010,110
2011,107
2012,82
It's something about how many people dies each year in traffic (doesn't really matter).
Then it says: f(x)=-24.7143*x+4.9804E+04; R2=0.9447
I realize that -24.7143 is my a but how do I find my b?
Any help would be really appreciated as I might need this in 2 days for my exam.