Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Testing for a Linear Correlation. In Exercises 13–28, construct a scatterplot, and find the value of the linear correlation coefficient r. Also find the P-value or the critical values of r from Table A-6. Use a significance level of A = 0.05. Determine whether there is sufficient evidence to support a claim of a linear correlation between the two variables. (Save your work because the same data sets will be used in Section 10-2 exercises.)

Revised mpg Ratings Listed below are combined city-highway fuel economy ratings (in mi>gal) for different cars. The old ratings are based on tests used before 2008 and the new ratings are based on tests that went into effect in 2008. Is there sufficient evidence to conclude that there is a linear correlation between the old ratings and the new ratings? What do the data suggest about the old ratings?

Old

16

27

17

33

28

24

18

22

20

29

21

New

15

24

15

29

25

22

16

20

18

26

19

Short Answer

Expert verified

The scatter plot is shown below:

The value of the correlation coefficient is 0.998.

The p-value is 0.000.

There is enough evidence to support the claim that there existsa linear correlation between old and new ratings.

The old ratings were higher than the new ratings for each car.

Step by step solution

01

Given information

The data is recorded for the two variables, old and new ratings.

Old

New

16

15

27

24

17

15

33

29

28

25

24

22

18

16

22

20

20

18

29

26

21

19

02

Sketch a scatterplot

A plot described using a paired set of observations is known as a scatterplot.

It givesa tentative relationship between two variables.

Steps to sketch a scatterplot:

  1. Mark the horizontal for old ratings and the vertical for new ratings.
  2. Mark each point in a pair onto the curve.

The resultant scatterplot is shown below.

03

Compute the measure of the correlation coefficient

The correlation coefficient formula is

\(r = \frac{{n\sum {xy} - \left( {\sum x } \right)\left( {\sum y } \right)}}{{\sqrt {n\left( {\sum {{x^2}} } \right) - {{\left( {\sum x } \right)}^2}} \sqrt {n\left( {\sum {{y^2}} } \right) - {{\left( {\sum y } \right)}^2}} }}\).

Define variable xas old ratings and variable y as new ratings.

The valuesare listedin the table below:

x

y

\({x^2}\)

\({y^2}\)

\(xy\)

16

15

256

225

240

27

24

729

576

648

17

15

289

225

255

33

29

1089

841

957

28

25

784

625

700

24

22

576

484

528

18

16

324

256

288

22

20

484

400

440

20

18

400

324

360

29

26

841

676

754

21

19

441

361

399

\(\sum x = 255\)

\(\sum y = 229\)

\(\sum {{x^2}} = 6213\)

\(\sum {{y^2} = } \;4993\)

\(\sum {xy\; = \;} 5569\)

Substitute the values in the formula:

\(\begin{aligned} r &= \frac{{11\left( {5569} \right) - \left( {225} \right)\left( {229} \right)}}{{\sqrt {11\left( {6213} \right) - {{\left( {255} \right)}^2}} \sqrt {11\left( {4993} \right) - {{\left( {229} \right)}^2}} }}\\ &= 0.998\end{aligned}\)

Thus, the correlation coefficient is 0.998.

04

Step 4:Conduct a hypothesis test for correlation

Definethe actual measure of the correlation coefficient as\(\rho \).

For testing the claim, form the hypotheses:

\(\begin{array}{l}{H_o}:\rho = 0\\{H_a}:\rho \ne 0\end{array}\)

The samplesize is 11 (n).

The test statistic is computed as follows:

\(\begin{aligned} t &= \frac{r}{{\sqrt {\frac{{1 - {r^2}}}{{n - 2}}} }}\\ &= \frac{{0.998}}{{\sqrt {\frac{{1 - {{\left( {0.998} \right)}^2}}}{{11 - 2}}} }}\\ &= 47.363\end{aligned}\)

Thus, the test statistic is 47.363.

The degree of freedom is

\(\begin{aligned} df &= n - 2\\ &= 11 - 2\\ &= 9.\end{aligned}\)

The p-value is computed from the t-distribution table.

\(\begin{aligned} p{\rm{ - value}} &= 2P\left( {T > 47.363} \right)\\ &= 0.000\end{aligned}\)

Thus, the p-value is 0.000.

Since thep-value is less than 0.05, the null hypothesis is rejected.

Therefore, there is enough evidence to conclude that old ratings are linearly correlated with new ratings.

05

Discuss the old ratings

The data suggests that throughout the period, the old ratings were higher than the new rating for each car.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Testing for a Linear Correlation. In Exercises 13–28, construct a scatterplot, and find the value of the linear correlation coefficient r. Also find the P-value or the critical values of r from Table A-6. Use a significance level of A = 0.05. Determine whether there is sufficient evidence to support a claim of a linear correlation between the two variables. (Save your work because the same data sets will be used in Section 10-2 exercises.)

Internet and Nobel Laureates Listed below are numbers of Internet users per 100 people and numbers of Nobel Laureates per 10 million people (from Data Set 16 “Nobel Laureates and Chocolate” in Appendix B) for different countries. Is there sufficient evidence to conclude that there is a linear correlation between Internet users and Nobel Laureates?

Internet Users

Nobel Laureates

79.5

5.5

79.6

9

56.8

3.3

67.6

1.7

77.9

10.8

38.3

0.1

Stocks and Sunspots. Listed below are annual high values of the Dow Jones Industrial Average (DJIA) and annual mean sunspot numbers for eight recent years. Use the data for Exercises 1–5. A sunspot number is a measure of sunspots or groups of sunspots on the surface of the sun. The DJIA is a commonly used index that is a weighted mean calculated from different stock values.

DJIA

14,198

13,338

10,606

11,625

12,929

13,589

16,577

18,054

Sunspot

Number

7.5

2.9

3.1

16.5

55.7

57.6

64.7

79.3

Correlation Use a 0.05 significance level to test for a linear correlation between the DJIA values and the sunspot numbers. Is the result as you expected? Should anyone consider investing in stocks based on sunspot numbers?

What is the difference between the regression equation\(\hat y = {b_0} + {b_1}x\)and the regression equation\(y = {\beta _0} + {\beta _1}x\)?

The following exercises are based on the following sample data consisting of numbers of enrolled students (in thousands) and numbers of burglaries for randomly selected large colleges in a recent year (based on data from the New York Times).

Repeat the preceding exercise, assuming that the linear correlation coefficient is r= 0.997.

In Exercises 9–12, refer to the accompanying table, which was obtained using the data from 21 cars listed in Data Set 20 “Car Measurements” in Appendix B. The response (y) variable is CITY (fuel consumption in mi , gal). The predictor (x) variables are WT (weight in pounds), DISP (engine displacement in liters), and HWY (highway fuel consumption in mi , gal).

If exactly two predictor (x) variables are to be used to predict the city fuel consumption, which two variables should be chosen? Why?

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free