Q. 4.55

Question

 Data points: 

X123
Y438
  • 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=1+2x

part (b): Graph representation

1Step 1. Given information:

Data points: 

X123
Y438
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 2, and the value of Sxy is 4 .

3Step 3. Continue:

Find the slope.

b1=SxySxx=42=2


Find the y-intercept.

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


Therefore, the regression equation for the given data is,

y^=b0+b1x=1+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: