Q. 4.54

Question

 Data points:

x1344
y8031
  • a. Find 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 =9-2x

part (b): Graph representation

1Step 1. Given information:

Data points:

x1344
y8031
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 6, and the value of Sxy is  -12.

3Step 3. Continue:

Find the slope.

b1=SxySxx=-126=-2

Find the y-intercept.

b0=y¯-b1x¯=3-(-2)(3)-3+6=9

Therefore, the regression equation for the given data is,

y^=b0+b1x  =9-2x

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.

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

Step 5: Click OK.

5Step 5. Continue: