bs0d
Well-known Member
- Joined
- Dec 29, 2006
- Messages
- 622
Maybe it's just late in the afternoon for me, but I have a data set with a linear regression trend line plotted through it. The data = percentages between 9 and 11%.
I can see the trend line passes through 9% over the next year if projected forward.
So the equation is:
I'm trying to supply a date (x) and solve for y (the percent). I'm using the serial value for date.
When I do this, I'm getting unexpected results.
For example:
1/1/2014 = 41640
y = (-0.00002 * 41640) + 0.9913
the result is 15.85%. This seems wrong to me because I can observe the trend line for 1/1/2014 is slightly above 10%.
What am I doing wrong here?
I can see the trend line passes through 9% over the next year if projected forward.
So the equation is:
Code:
y = -2E-05x + 0.9913
I'm trying to supply a date (x) and solve for y (the percent). I'm using the serial value for date.
When I do this, I'm getting unexpected results.
For example:
1/1/2014 = 41640
y = (-0.00002 * 41640) + 0.9913
the result is 15.85%. This seems wrong to me because I can observe the trend line for 1/1/2014 is slightly above 10%.
What am I doing wrong here?