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

CPI and the Subway Use CPI/subway data from the preceding exercise to test for a correlation between the CPI (Consumer Price Index) and the subway fare.

Short Answer

Expert verified

The rank correlation coefficient between CPI and the subway fare is equal to 1.

There is enough evidence to conclude that there is a significant correlation between CPI and the subway fare.

Step by step solution

01

Given information

Data are provided on the samples of CPI and the subway fare.

The significance level is 0.05.

The paired set of values (n) is 9.

02

Identify the statistical hypothesis

Rank correlation coefficient is used to test the significance of the correlation between two ordinal variables.

The researcher wants to test for a correlation between the variables CPI and the subway free.

The null hypothesis is set up as follows:

There is no correlation between CPI and the subway fare.

\({\rho _s} = 0\)

The alternative hypothesis is set up as follows:

There is a significant correlation between CPI and the subway fare.

\({\rho _s} \ne 0\)

The test is two tailed.

03

Assign ranks

Compute the ranks of each of the twosamples.

Ranks are assigned from the smallest to the largest observations for the first sample. Similarly, assign ranks to the second sample.

If some observations are equal, the mean of the ranks isassigned to each of the observations.

The following table shows the ranks of the twosamples:

Ranks of Subway Fare

1

2

3

4

5

6

7

8

9

Ranks of CPI

1

2

3

4

5

6

7

8

9

04

Calculate the Spearman rank correlation coefficient

Since there are no ties present, the following formula is used to compute the rank correlation coefficient:

\({r_s} = 1 - \frac{{6\sum {{d^2}} }}{{n\left( {{n^2} - 1} \right)}}\)

The following table shows the differences between the ranks of the two values for every pair:

Ranks of CPI

1

2

3

4

5

6

7

8

9

Ranks of Subway Fare

1

2

3

4

5

6

7

8

9

Difference (d)

0

0

0

0

0

0

0

0

0

\({d^2}\)

0

0

0

0

0

0

0

0

0

Substituting the differences in the formula, the value of\({r_s}\)is obtained as follows:

\(\begin{array}{c}{r_s} = 1 - \frac{{6\sum {{d^2}} }}{{n\left( {{n^2} - 1} \right)}}\\ = 1 - \frac{{6\left( 0 \right)}}{{9\left( {{9^2} - 1} \right)}}\\ = 1\end{array}\)

Therefore, the value of the Spearman rank correlation coefficient is equal to 1.

05

Obtain the critical value and the conclusion of the test

The critical values of the rank correlation coefficient for n=9 and\(\alpha = 0.05\)are -0.700 and 0.700.

Since the value of the rank correlation coefficient does not fall in the interval bounded by the critical values, the null hypothesis is rejected.

There is enough evidence to conclude that there is a correlation between CPI and the subway fare.

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

Radiation in Baby Teeth Listed below are amounts of strontium-90 (in millibecquerels, or mBq, per gram of calcium) in a simple random sample of baby teeth obtained from Pennsylvania residents and New York residents born after 1979 (based on data from โ€œAn Unexpected Rise in Strontium-90 in U.S. Deciduous Teeth in the 1990s,โ€ by Mangano et al., Science of the Total Environment). Use a 0.05 significance level to test the claim that the median amount of strontium-90 from Pennsylvania residents is the same as the median from New York residents.

Pennsylvania

155

142

149

130

151

163

151

142

156

133

138

161

New York

133

140

142

131

134

129

128

140

140

140

137

143

Using the Kruskal-Wallis Test. In Exercises 5โ€“8, use the Kruskal-Wallis test.

Correcting the H Test Statistic for Ties In using the Kruskal-Wallis test, there is a correction factor that should be applied whenever there are many ties: Divide H by

\(1 - \frac{{\sum T }}{{{N^3} - N}}\)

First combine all of the sample data into one list, and then, in that combined list, identify the different groups of sample values that are tied. For each individual group of tied observations, identify the number of sample values that are tied and designate that number as t, then calculate\(T = {t^3} - t\). Next, add the T values to get\(\sum T \). The value of N is the total number of observations in all samples combined. Use this procedure to find the corrected value of H for Example 1 in this section on page 628. Does the corrected value of H differ substantially from the value found in Example 1?

In Exercises 5 and 6, use the scatterplot to find the value of the rank correlation coefficient\({r_s}\)and the critical values corresponding to a 0.05 significance level used to test the null hypothesis of\(\rho \)= 0. Determine whether there is a correlation.

Altitude,Time Data for a Descending Aircraft

Using the Kruskal-Wallis Test. In Exercises 5โ€“8, use the Kruskal-Wallis test.

Arsenic in Rice Listed below are amounts of arsenic in samples of brown rice from three different states. The amounts are in micrograms of arsenic and all samples have the same serving size. The data are from the Food and Drug Administration. Use a 0.01 significance level to test the claim that the three samples are from populations with the same median.

Arkansas

4.8

4.9

5

5.4

5.4

5.4

5.6

5.6

5.6

5.9

6

6.1

California

1.5

3.7

4

4.5

4.9

5.1

5.3

5.4

5.4

5.5

5.6

5.6

Texas

5.6

5.8

6.6

6.9

6.9

6.9

7.1

7.3

7.5

7.6

7.7

7.7

Measuring Seals from Photos Listed below are the overhead widths (in cm) of seals measured from photographs and the weights of the seals (in kg). The data are based on โ€œMass Estimation of Weddell Seals Using Techniques of Photogrammetry,โ€ by R. Garrott of Montana State University. The purpose of the study was to determine if weights of seals could be determined from overhead photographs. Is there sufficient evidence to conclude that there is a correlation between overhead widths and the weights of the seals?

Overhead width (cm)

7.2

7.4

9.8

9.4

8.8

8.4

Weight (kg)

116

154

245

202

200

191

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