Answer:
So the line would be given by:
Step-by-step explanation:
We assume that the data is this one:
x: 15 16 17 18 19 20 21 22 23 24 25 26 27
y: 33 34 33 36 36 47 52 51 41 50 49 50 55
Find the least-squares line appropriate for this data.
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: