Finite Math Examples
xy12233445
Step 1
The slope of the best fit regression line can be found using the formula.
m=n(∑xy)-∑x∑yn(∑x2)-(∑x)2
Step 2
The y-intercept of the best fit regression line can be found using the formula.
b=(∑y)(∑x2)-∑x∑xyn(∑x2)-(∑x)2
Step 3
Sum up the x values.
∑x=1+2+3+4
Step 4
Simplify the expression.
∑x=10
Step 5
Sum up the y values.
∑y=2+3+4+5
Step 6
Simplify the expression.
∑y=14
Step 7
Sum up the values of x⋅y.
∑xy=1⋅2+2⋅3+3⋅4+4⋅5
Step 8
Simplify the expression.
∑xy=40
Step 9
Sum up the values of x2.
∑x2=(1)2+(2)2+(3)2+(4)2
Step 10
Simplify the expression.
∑x2=30
Step 11
Sum up the values of y2.
∑y2=(2)2+(3)2+(4)2+(5)2
Step 12
Simplify the expression.
∑y2=54
Step 13
Fill in the computed values.
m=4(40)-10⋅144(30)-(10)2
Step 14
Simplify the expression.
m=1
Step 15
Fill in the computed values.
b=(14)(30)-10⋅404(30)-(10)2
Step 16
Simplify the expression.
b=1
Step 17
Fill in the values of slope m and y-intercept b into the slope-intercept formula.
y=1x+1