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.)

CPI and the Subway Use CPI>subway data from the preceding exercise to determine whether there is a significant linear correlation between the CPI (Consumer Price Index) and the subway fare.

Short Answer

Expert verified

The scatter plot is shown below:

The value of the correlation coefficient is 0.973.

The p-value is 0.000.

There is enough evidence to support the claim that there is a linear correlation between the two variables (CPI and subway fare).

Step by step solution

01

Given information

Refer to Exercise 15 for the data.

Year

1960

1973

1986

1995

2002

2003

2009

2013

2015

Pizza Cost

0.15

0.35

1

1.25

1.75

2

2.25

2.3

2.75

Subway Fare

0.15

0.35

1

1.35

1.5

2

2.25

2.5

2.75

CPI

30.2

48.3

112.3

162.2

191.9

197.8

214.5

233

237.2

02

Sketch a scatterplot

A scatterplot hasdots torepresent paired observations of a dataset projected corresponding to theaxes scaled for two variables.

Steps to sketch a scatterplot:

  1. Mark horizontal axis for CPI and vertical axis for subway fare.
  2. Mark the points ofobservations corresponding to each axis.
  3. The resultant graph is the scatterplot.

03

Compute the measure of the correlation coefficient

The formula for correlation coefficient 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}} }}\).

Let CPI be defined by variable x and subway fare be defined by variable y.

The valuesare listedin the table below:

x

y

\({x^2}\)

\({y^2}\)

\(xy\)

30.2

0.15

912.04

0.0225

4.53

48.3

0.35

2332.9

0.1225

16.905

112.3

1

12611

1

112.3

162.2

1.35

26309

1.8225

218.97

191.9

1.5

36826

2.25

287.85

197.8

2

39125

4

395.6

214.5

2.25

46010

5.0625

482.63

233

2.5

54289

6.25

582.5

237.2

2.75

56264

7.5625

652.3

\(\sum x = 1427.4\)

\(\sum y = 13.85\)

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

\(\sum {{y^2} = } 28.0925\)

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

Substitute the values in the formula:

\(\begin{aligned}{c}r &= \frac{{9\left( {2753.58} \right) - \left( {1427.4} \right)\left( {13.85} \right)}}{{\sqrt {9\left( {274678.6} \right) - {{\left( {1427.4} \right)}^2}} \sqrt {9\left( {28.0925} \right) - {{\left( {13.85} \right)}^2}} }}\\ &= 0.973\end{aligned}\)

Thus, the correlation coefficient is 0.973.

04

Step 4:Conduct a hypothesis test for correlation

Define\(\rho \)as the actual value of thecorrelation coefficient for pizza cost and subway fare.

For testing the claim, form the hypotheses:

\(\begin{array}{l}{{\rm{H}}_{\rm{o}}}:\rho = 0\\{{\rm{{\rm H}}}_{\rm{a}}}:\rho \ne 0\end{array}\)

The samplesize is9 (n).

The test statistic is computed as follows:

\(\begin{aligned} t &= \frac{r}{{\sqrt {\frac{{1 - {r^2}}}{{n - 2}}} }}\\ &= \frac{{0.973}}{{\sqrt {\frac{{1 - {{0.973}^2}}}{{9 - 2}}} }}\\ &= 11.154\end{aligned}\)

Thus, the test statistic is 11.154

The degree of freedom is

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

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

\(\begin{aligned}{c}p{\rm{ - value}} &= 2P\left( {T > t} \right)\\ &= 2P\left( {T > 11.154} \right)\\ &= 2\left( {1 - P\left( {T < 11.154} \right)} \right)\\ &= 0.000\end{aligned}\)

Thus, the p-value is 0.000.

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

Therefore, there is enough evidence to conclude that the variables CPI and subway fare have a linear correlation between them.

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

Effects of an Outlier Refer to the Minitab-generated scatterplot given in Exercise 11 of

Section 10-1 on page 485.

a. Using the pairs of values for all 10 points, find the equation of the regression line.

b. After removing the point with coordinates (10, 10), use the pairs of values for the remaining 9 points and find the equation of the regression line.

c. Compare the results from parts (a) and (b).

Critical Thinking: Is the pain medicine Duragesic effective in reducing pain? Listed below are measures of pain intensity before and after using the drug Duragesic (fentanyl) (based on data from Janssen Pharmaceutical Products, L.P.). The data are listed in order by row, and corresponding measures are from the same subject before and after treatment. For example, the first subject had a measure of 1.2 before treatment and a measure of 0.4 after treatment. Each pair of measurements is from one subject, and the intensity of pain was measured using the standard visual analog score. A higher score corresponds to higher pain intensity.

Pain Intensity Before Duragesic Treatment

1.2

1.3

1.5

1.6

8

3.4

3.5

2.8

2.6

2.2

3

7.1

2.3

2.1

3.4

6.4

5

4.2

2.8

3.9

5.2

6.9

6.9

5

5.5

6

5.5

8.6

9.4

10

7.6










Pain Intensity After Duragesic Treatment

0.4

1.4

1.8

2.9

6

1.4

0.7

3.9

0.9

1.8

0.9

9.3

8

6.8

2.3

0.4

0.7

1.2

4.5

2

1.6

2

2

6.8

6.6

4.1

4.6

2.9

5.4

4.8

4.1










Two Independent Samples The methods of Section 9-2 can be used to test the claim that two populations have the same mean. Identify the specific claim that the treatment is effective, then use the methods of Section 9-2 to test that claim. The methods of Section 9-2 are based on the requirement that the samples are independent. Are they independent in this case?

Outlier Refer to the accompanying Minitab-generated scatterplot. a. Examine the pattern of all 10 points and subjectively determine whether there appears to be a correlation between x and y. b. After identifying the 10 pairs of coordinates corresponding to the 10 points, find the value of the correlation coefficient r and determine whether there is a linear correlation. c. Now remove the point with coordinates (10, 10) and repeat parts (a) and (b). d. What do you conclude about the possible effect from a single pair of values?

Interpreting\({R^2}\)In Exercise 2, the quadratic model results in = 0.255. Identify the percentage of the variation in Super Bowl points that can be explained by the quadratic model relating the variable of year and the variable of points scored. (Hint: See Example 2.) What does the result suggest about the usefulness of the quadratic model?

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).

Enrollment (thousands)

53

28

27

36

42

Burglaries

86

57

32

131

157

True or false: If the sample data lead us to the conclusion that there is sufficient evidence to support the claim of a linear correlation between enrollment and number of burglaries, then we could also conclude that higher enrollments cause increases in numbers of burglaries.

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