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
0.666 critical value 0.05 (two-tail)
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.
Testing for Rank Correlation. In Exercises 7-12, use the rank correlation coefficient to test for a correlation between...
Please explain in detail. Thank you. 15. Pizza and the Subway Use the pizza costs and subway fares to find the best predicted subway fare, given that the cost of a slice of pizza is $3.00. Is the best predicted subway fare likely to be implemented? Year Pizza Cost Subway Fare CPI 1960 0.15 0.15 30.2 1973 0.35 0.35 48. 3 1986 1.00 1.00 112.3 1995 1.25 1.35 162.2 2002 1.75 1.50 191.9 2003 2.00 2.00 197.8 2009 2.25 2.25...
Test the claim that there is correlation between CPI and Cost of Pizza with ? = 0.05. CPI 30.2 48.3 112.3 162.2 191.9 197.8 Cost of Pizza 0.15 0.35 1.00 1.25 1.75 2.00
Could you teach me do this by Ti83or 84? Below is data collected over 6 specific years. The data collected is the Consumer Price Index (CPT) and the cost of a slice of pizza We would like to build a model using the CPI to predict the cost of a slice of pizza in a given year. Year 1960 1973 1986 1995 2002 2003 CPI (x) 30.2 48.3 112.3 162.2 191.9 197.8 Cost of a slice 0.15 0.35 1.00 1.25...
4. The following data set presents CPI (Consumer Price Index) of the US and the price of a regular cheese pizza at the same time. CPI 30.2 48.3 12.3 162.2 191.9 197.8 Cost of Pizza 0.15 0.35 1.00 1.25 1.75 2.00 (a) (10 points) Assuming a linear relation between CPI (a) and pizza price ), find the least square estimation for the regression coefficients. (b) (10 points) Use the data to test the hypothesis that the pizza price does not...
Example 7: Use a critical value method to conduct a formal hypothesis test of the claim that there is a linear correlation between the cost of pizza and the subway fare. Table 10-2 Costs of a Slice of Pizza and Subway Fare (in dollars) Cost of Pizza Subway Fane 015 3 100 125 175200 015 0.35 100 1.55 150 2.00 Table 10-3 Calculatingr with Formula 10-1 015 015 0 35 tco 0225 1225 10000 0.0225 00225 01225 100 10000 10000...