Slope of Regression Line Calculator

What is the slope of the regression line for the given points?

Prev Question Next Question

Question

Given the following points: (-2, 0), (-1,0), (0,1), (1, 1) and (2, 3) What is the slope of the regression line?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

E

For this, you need to create tables with columns for X,Y,XY,X^2,Y' and Y-Y'. This will be as follows.

XYXY X^2 Y'Y-Y'

-2004-0.40.4

-10010.3-0.3

010010

11111.7-0.7

23642.40.6

Sum057100 -

N=5.

The regression equation is Y' = a + bX.

Then to find the slope, which is b, use the formula

b = [n(SXY)-(SX)(SY)]/[n(SX^2)-(SX)^2] where here S stands for "Sum of." b = [5(0)-(0)(5)]/[5(10)-0] = 0.7