Q. 4.57

Question

 Data points: 

X02256
Y420-21
  • a. Fivnd the regression equation for the data points. Use the defining formulas in Definition 4.4 to obtain Sxx and Sxy .
  • b. graph the regression equation and the data points.

Step-by-Step Solution

Verified
Answer

Ans: 

part (a): The regression equation for the given data y^=b0+b1x=2.875-0.625x

part (b): Graph representation

1Step 1. Given information:

Data points: 

X02256
Y420-21
2Step 2. Solving part (a):

Obtain Sxx and Sxy.

The formula for Sxx and Sxy is given below.

Sxx=xi-x¯2Sxy=xi-x¯yi-y¯


Therefore, xi-x¯2 and xi-x¯yi-y¯ are tabulated below:



From the table, the value of Sxx is 24 and the value of Sxy is -15.

3Step 3. Continue:

Find the slope.

b1=SxySxx=-1524=-0.625 



Find the y-intercept.

b0=y¯-b1x¯=1-(-0.625)(3)=1+1.875=2.875


Therefore, the regression equation for the given data is,

y^=b0+b1x=2.875-0.625x


4Step 4. Solving part (b):

Graph the regression equation and the data points by using MINITAB.

MINITAB procedure:

Step 1: Choose Graph > Scatterplot.

Step 2: Choose With Connect Line, and then click OK.

Step 3: Under Y variables, enter a column of Y U

Step 4: Under X variables, enter a column of X

Step 5: Click OK.

5Step 5. Continue: