Statistics Examples
xy797118711111291211139
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=7+7+8+11+12+12+13
Step 4
Simplify the expression.
∑x=70
Step 5
Sum up the y values.
∑y=9+11+7+11+9+11+9
Step 6
Simplify the expression.
∑y=67
Step 7
Sum up the values of x⋅y.
∑xy=7⋅9+7⋅11+8⋅7+11⋅11+12⋅9+12⋅11+13⋅9
Step 8
Simplify the expression.
∑xy=674
Step 9
Sum up the values of x2.
∑x2=(7)2+(7)2+(8)2+(11)2+(12)2+(12)2+(13)2
Step 10
Simplify the expression.
∑x2=740
Step 11
Sum up the values of y2.
∑y2=(9)2+(11)2+(7)2+(11)2+(9)2+(11)2+(9)2
Step 12
Simplify the expression.
∑y2=655
Step 13
Fill in the computed values.
m=7(674)-70⋅677(740)-(70)2
Step 14
Simplify the expression.
m=0.1
Step 15
Fill in the computed values.
b=(67)(740)-70⋅6747(740)-(70)2
Step 16
Simplify the expression.
b=8.‾571428
Step 17
Fill in the values of slope m and y-intercept b into the slope-intercept formula.
y=0.1x+8.‾571428