image

The regression equations are

y=16+1.6x

image

and

x=1+0.4y

image

Example 6.10: For the following data, find the regression line of y on x:

x 1 2 3 4 5 8 10
y 9 8 10 12 14 16 15

Image

Solution: We have

x y xy x2
1 9 9 1
2 8 16 4
3 10 30 9
4 12 48 16
5 14 70 25
8 16 128 64
10 15 150 100

Total:

xi=33,yi=84,xi2=219,xiyi=451

Get Statistical Techniques for Transportation Engineering now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.