Skip to main content

Table 4 Small data set with the fitted values from the regression, the deviations and their sums of squares

From: Statistics review 7: Correlation and regression

x (mean x = 16)

y (mean y = 38)

Fitted y = 6 + 2x

Unexplained deviation = y - fitted y

Explained deviation = fitted y - mean y

Total deviation = y - mean y

10

22

26

-4

-12

-16

10

28

26

2

-12

-10

20

42

46

-4

8

4

20

48

46

2

8

10

19

40

44

-4

6

2

17

48

40

8

2

10

  

Sum of squares

120

456

576