In: Statistics and Probability
CITY | SO2 | POP |
Phoenix | 11 | 582 |
Little Rock | 15 | 132 |
San Francisco | 16 | 716 |
Denver | 24 | 515 |
Hartford | 82 | 158 |
Wilmington | 43 | 80 |
Washington | 30 | 757 |
Jacksonville | 18 | 529 |
Miami | 14 | 335 |
Atlanta | 32 | 497 |
Chicago | 131 | 3369 |
Indianapolis | 40 | 746 |
Des Moines | 20 | 201 |
Wichita | 10 | 277 |
Louisville | 35 | 593 |
New Orleans | 9 | 361 |
Baltimore | 47 | 905 |
Detroit | 46 | 1513 |
Minneapolis-St. Paul | 42 | 744 |
Kansas City | 18 | 507 |
St. Louis | 61 | 622 |
Omaha | 17 | 347 |
Albuquerque | 15 | 244 |
Albany | 56 | 116 |
Buffalo | 11 | 463 |
Cincinnati | 27 | 453 |
Cleveland | 80 | 751 |
Columbus | 27 | 540 |
Philadelphia | 79 | 1950 |
Pittsburgh | 63 | 520 |
Providence | 136 | 179 |
Memphis | 10 | 624 |
Nashville | 23 | 448 |
Dallas | 11 | 844 |
Houston | 10 | 1233 |
Salt Lake City | 28 | 176 |
Norfolk | 38 | 308 |
Richmond | 38 | 299 |
Seattle | 40 | 531 |
Charleston | 40 | 71 |
Milwaukee | 20 | 717 |
Open Pollution data. Test if cities with POPULATION greater than 500 (in thousand) have level of SO2 greater than 28 (ppb) on average.
17. What test/procedure did you perform? (5 points)
18. What is the P-value/margin of error? (5 points)
19. What is the Statistical interpretation? (5 points)
20. What is the conclusion? (5 points)
first Take all the observations which have population greater than 500 and save it in the variable so2 to do further testing
17) since we need to test that whether the average level of so2 is greater than 28 and population for those cities which have population greater than 500 which implies it is testing of One-sided t-test.
i.e, option a is correct
18) test is conducted in R and the code is attached
p value for the test is .0471
i.e, option e is correct
19)
Since H0 : average is equal to 28
H1: average is greater than 28
and p value < 0.05 which implies H0 is rejected which implies average is greater than 28 is true
i.e, option e is correct
20) option D is correct since in our test average is greater than 28 for the cities with POPULATION greater than 500 (in thousand)