Question

Testing for Rank Correlation. In Exercises 7-12, use the rank correlation coefficient to test for a correlation between the t

0 0
Add a comment Improve this question Transcribed image text
Answer #1

From the information, observe that the pizza connection is the principle that the price of a slice of pizza in New York City is always about the same as the subway fare.

Consider Null and Alternative hypotheses.

Null hypothesis H0: There is no correlation between the cost of a slice of pizza and the subway fare.

Alternative hypothesis Ha: There is a correlation between the cost of a slice of pizza and the subway fare.

The level of significance is 0.05

Use Excel to perform Kruskal-Walls test as follows:

Step 1: insert the data into the spreadsheet.

Step 2: select the add-lns menu in the menu bar and then select the MegaStat option, after that select the Non-Parametric tests option and then select the spearmen's rank correlation coefficient test then a dialog box will open.

Step 3: Enter the data range in the input range column and click on OK.

The Excel output as follows:

Spearman Coefficient of Rank Correlation:

Pizza cost Subway fare
Pizza cost 1.000
Subway fare 1.000 1.000

9 sample size

\pm 0.666 critical value 0.05 (two-tail)

\pm 0.798 critical value 0.01 (two-tail)

The critical value of the test statistic is 0.666

Compare the calculated value with the critical value.

Here, the calculated value exceeds the critical value then fail to reject the null hypothesis.

Hence, conclude that there is no correlation between the cost of a slice of pizza and the subway fare.

Add a comment
Know the answer?
Add Answer to:
Testing for Rank Correlation. In Exercises 7-12, use the rank correlation coefficient to test for a correlation between...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT