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

Foot Length , Height When analyzing the paired data in Exercise 4, are the P-values and conclusions from the nonparametric test and the parametric test always the same?

Using the Mann-Whitney U Test The Mann-Whitney U test is equivalent to the Wilcoxon rank-sum test for independent samples in the sense that they both apply to the same situations and always lead to the same conclusions. In the Mann-Whitney U test we calculate

\(z = \frac{{U - \frac{{{n_1}{n_2}}}{2}}}{{\sqrt {\frac{{{n_1}{n_2}\left( {{n_1} + {n_2} + 1} \right)}}{{12}}} }}\)

Where

\(U = {n_1}{n_2} + \frac{{{n_1}\left( {{n_1} + 1} \right)}}{2} - R\)

and R is the sum of the ranks for Sample 1. Use the student course evaluation ratings in Table 13-5 on page 621 to find the z test statistic for the Mann-Whitney U test. Compare this value to the z test statistic found using the Wilcoxon rank-sum test.

Runs Test with Large Samples. In Exercises 9–12, use the runs test with a significance level of\(\alpha \)= 0.05. (All data are listed in order by row.)

Baseball World Series Victories Test the claim that the sequence of World Series wins by American League and National League teams is random. Given on the next page are recent results, with A = American League and N = National League.

A

N

A

N

N

N

A

A

A

A

N

A

A

A

A

N

A

N

N

A

A

N

N

A

A

A

A

N

A

N

N

A

A

A

A

A

N

A

N

A

N

A

N

A

A

A

A

A

A

A

N

N

A

N

A

N

N

A

A

N

N

N

A

N

A

N

A

N

A

A

A

N

N

A

A

N

N

N

N

A

A

A

N

A

N

A

N

A

A

A

N

A

N

A

A

A

N

A

N

A

A

N

A

N

A

N

N

N

A

N











Notation For the data given in Exercise 1, identify the values of n1 , n2 , n3 , and N.

Odd and Even Digits in Pi A New York Times article about the calculation of decimal places of\(\pi \)noted that “mathematicians are pretty sure that the digits of\(\pi \)are indistinguishable from any random sequence.” Given below are the first 25 decimal places of\(\pi \). Test for randomness in the way that odd (O) and even (E) digits occur in the sequence. Based on the result, does the statement from the New York Times appear to be accurate?

1 4 1 5 9 2 6 5 3 5 8 9 7 9 3 2 3 8 4 6 2 6 4 3 3

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