209k views
4 votes
(6) if y = ax + b is the least square fit line for the points (−1, 3), (0, 2), (1, 4), find a +

b.

User Nsousa
by
7.2k points

1 Answer

3 votes
We have the following function:
y = ax + b
We evaluate two points in the function:
For (0, 2)
2 = a (0) + b
b = 2
For (1, 4)
4 = a (1) + b
4 = a + 2
a = 4-2
a = 2
Then, we have:
a + b = 2 + 2 = 4
Answer:
The result of a + b equals 4
User Shameek
by
7.3k points