Statistics Examples
xy910911111213151412xy910911111213151412
Step 1
The slope of the best fit regression line can be found using the formula.
m=n(∑xy)-∑x∑yn(∑x2)-(∑x)2m=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)2b=(∑y)(∑x2)−∑x∑xyn(∑x2)−(∑x)2
Step 3
Sum up the xx values.
∑x=9+9+11+13+14∑x=9+9+11+13+14
Step 4
Simplify the expression.
∑x=56∑x=56
Step 5
Sum up the yy values.
∑y=10+11+12+15+12∑y=10+11+12+15+12
Step 6
Simplify the expression.
∑y=60∑y=60
Step 7
Sum up the values of x⋅y.
∑xy=9⋅10+9⋅11+11⋅12+13⋅15+14⋅12
Step 8
Simplify the expression.
∑xy=684
Step 9
Sum up the values of x2.
∑x2=(9)2+(9)2+(11)2+(13)2+(14)2
Step 10
Simplify the expression.
∑x2=648
Step 11
Sum up the values of y2.
∑y2=(10)2+(11)2+(12)2+(15)2+(12)2
Step 12
Simplify the expression.
∑y2=734
Step 13
Fill in the computed values.
m=5(684)-56⋅605(648)-(56)2
Step 14
Simplify the expression.
m=0.5‾769230
Step 15
Fill in the computed values.
b=(60)(648)-56⋅6845(648)-(56)2
Step 16
Simplify the expression.
b=5.‾538461
Step 17
Fill in the values of slope m and y-intercept b into the slope-intercept formula.
y=0.5‾769230x+5.‾538461