# Question: The following table gives the average weekly retail price of

The following table gives the average weekly retail price of a gallon of regular gasoline in the eastern United States over a 9-week period from December 19, 2011, through February 13, 2012. Consider these 9 weeks as a random sample.

a. Assign a value of 0 to 12/19/11, of 1 to 12/16/11, of 2 to 01/02/12, and so on. Call this new variable Time. Make a new table with the variables Time and Price.

b. With time as an independent variable and price as the dependent variable, compute SSxx, SSyy, and SSxy.

c. Construct a scatter diagram for these data. Does the scatter diagram exhibit a linear positive relationship between time and price?

d. Find the least squares regression line ŷ = a + bx

e. Give a brief interpretation of the values of a and b calculated in part d.

f. Compute the correlation coefficient r.

g. Predict the average price of a gallon of regular gasoline in the eastern United States for Time = 26. Comment on this prediction.

h. The following table gives the average weekly retail price of a gallon of regular gasoline in the eastern United States for the weeks 10/24/11 through 12/12/11.

Calculate the correlation coefficient and the least squares regression line for the 17-week period given in the two tables, assigning 10/24/11 a value of 0, 10/31/11 a value of 1, and so on. What happens to the value of the correlation coefficient? Create a scatter diagram along with the regression line for the data having time on the horizontal axis and price on the vertical axis. Use the diagram to explain how the values of r and b changed.

a. Assign a value of 0 to 12/19/11, of 1 to 12/16/11, of 2 to 01/02/12, and so on. Call this new variable Time. Make a new table with the variables Time and Price.

b. With time as an independent variable and price as the dependent variable, compute SSxx, SSyy, and SSxy.

c. Construct a scatter diagram for these data. Does the scatter diagram exhibit a linear positive relationship between time and price?

d. Find the least squares regression line ŷ = a + bx

e. Give a brief interpretation of the values of a and b calculated in part d.

f. Compute the correlation coefficient r.

g. Predict the average price of a gallon of regular gasoline in the eastern United States for Time = 26. Comment on this prediction.

h. The following table gives the average weekly retail price of a gallon of regular gasoline in the eastern United States for the weeks 10/24/11 through 12/12/11.

Calculate the correlation coefficient and the least squares regression line for the 17-week period given in the two tables, assigning 10/24/11 a value of 0, 10/31/11 a value of 1, and so on. What happens to the value of the correlation coefficient? Create a scatter diagram along with the regression line for the data having time on the horizontal axis and price on the vertical axis. Use the diagram to explain how the values of r and b changed.

**View Solution:**## Answer to relevant Questions

The following table gives the completion times for the winners in the women’s 200-meter dash finals in the Summer Olympic Games from 1972 to 2008. The times are in seconds rounded to the nearest 1/100 second. Olympic Year ...Consider the data given in the following table. a. Find the least squares regression line and the linear correlation coefficient r. b. Suppose that each value of y given in the table is increased by 5 and the x values remain ...Consider the following data a. Calculate the correlation between x and y, and perform a hypothesis test to determine if the correlation is significantly greater than zero. Use a significance level of 5%. b. Are you willing ...The following information is obtained from a sample data set. n = 12, ∑x = 66, ∑y = 588, ∑xy = 2244, ∑x2 = 396 Find the estimated regression line. The following table gives the total payroll (in millions of dollars) on the opening day of the 2011 season and the percentage of games won during the 2011 season by each of the National League baseball teams. a. Find the ...Post your question