Q. 4.81

Question

Sample Covariance. For a set of n data points, the sample covariance, sxy+ is given by

The sample covariance can be used as an alternative method for tinding the slope and y-intercept of a regression line. The formulas are


b1=sv/xk2   and   b0=y^-b1i^n

where si denotes the sample standard deviation of the x-values.

a. Use Equation (4.1) to determine the sample covariance of the data points in Exercise 4,45.

b. Use Equation (4.2) and your answer from part (a) to find the regression equation. Compare your result to that found in Exercise 4.57.

Step-by-Step Solution

Verified
Answer

a) Sample covariance is -154

b) The regression equation is y^=2.875-0.625x

1Part (a) Step 1: Given information

Given in the question that 

n=5xi=15yi=5xiyi=0xi2=69

2Part (a) Step 2: Explanation

The calculation of sample covariance is showed below,

 Sample covariance =xiyixiyinn1                                    =0(15)(5)55                                    =154

3Part (b) Step 1: Given information

Given in the question that 

n=5xi=15yi=5xiyi=0xi2=69

4Part (b) Step 2: Explanation

Here the value of the Sxx will be,

Sxx=xi2xi2nn1Sxx=69(15)254Sxx=69454Sxx=6

Then the slop will be,

b1=SxySxxb1=1546b1=0.625

Now we need to calculate the y-intercept

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

Therefore we can represent the regression equation as

y^=b0+b1xy^=2.8750.625x