Q. 4.55

Question

4.55 The data points in Exercise 4.43

a. find the regression equation for the data points. Use the defining formations in Definition 4.4 to obtain Sxx and Sxy

b. Graph the regression connection and the data points.

Step-by-Step Solution

Verified
Answer

(a) The regression equation is y^=1+2x,

(b) The graph will be

1Part (a) Step 1: Given information

The data points in Exercise 4.43 is:

x
1
2
3
y
4
3
8
2Part (a) Step 2: Explanation

The terms b0 and b1 are used to create the regression equation. For a set of n data points, the regression equation is:
y^=b0+b1x
where,
b1=SxySxxb0=1nyib1xib0=y¯b1x¯


The table is available in the following formats:

x
y
xix¯
xix¯2
(yi-y)
xix¯(yi-y)
1
4
-1
1
-1
1
2
3
0
0
-2
0
3
8
1
1
3
3
x=2
y=5

xix¯2=2

xix¯(yi-y)=4

Hence, Sxx=2, and Sxy=4.

3Part (a) Step 3: Claculation

Since,

b1=SxySxxb1=42b1=2

Then, 

b0=y¯b1x¯b0=5-(2)2b0=5-4b0=1

As a result, the regression equation will be as follows:

y^=b0+b1xy^=1+(2)xy^=1+2x

4Part (b) Step 1: Given information

Given in the question that 

5Part (b) Step 2: Graphical representation

The graph for the regression equation y^=1+2x is