Answer:
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 then the best predicted value of y for x = 41 is:
Step-by-step explanation:
For this case we assume the following dataset given:
x: 38,41,45,48,51,53,57,61,65
y: 116,120,123,131,142,145,148,150,152
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 then the best predicted value of y for x = 41 is: