Expression 4: Start sum from "i" equals 1 to 5, end sum, left parenthesis, "y" Subscript, 1 , Baseline left bracket, "i" , right bracket minus left parenthesis, "a" plus "b" times "x" Subscript, 1 , Baseline left bracket, "i" , right bracket , right parenthesis , right parenthesis squared5∑i=1y1i−a+b·x1i2
equals=
230.2 4 7230.247
4
Move the sliders around to determine the best value of a and b that minimizes S. You should see the fitted line plotted:
5
Expression 6: "a" equals 0a=0
00
2020
6
Expression 7: "b" equals 0b=0
00
2020
7
Expression 8: "y" equals "a" plus "b" times "x"y=a+b·x