Answer:
And the slope would be:
Nowe we can find the means for x and y like this:
And we can find the intercept using this:
So the line would be given by:
And in order to find the predicted value for 9 years we can use the model with x =9 and we got:
Step-by-step explanation:
Data given
x: 1,3,4,4,6,8,10,10,11,13
y: 80,97, 92,102,103,111,119,123,117,136
For this case we need to calculate the slope with the following formula:
Where:
So we can find the sums like this:
With these we can find the sums:
And the slope would be:
Nowe we can find the means for x and y like this:
And we can find the intercept using this:
So the line would be given by:
And in order to find the predicted value for 9 years we can use the model with x =9 and we got: