Question 1:
a) Obtain a contingency table with the frequency of LOCATION and GNP\_Group. Paste the
table into your report. Is there the same number of countries in each location? Comment about
how the world's wealth is distributed among the 91 countries. What is the proportion of countries
with GNP values between 0 and 5000? What is the proportion of countries with GNP values
exceeding 25000? If location 3 is chosen, what is the proportion of countries with GNP between
0 and 5000, and what is the proportion of countries with GNP values exceeding 25000?
Frequency table:
GNP\_Group
LOCATION A B C D E F G
1 9 0 0 0 0 0 0
2 12 0 0 0 0 0 0
3 0 3 1 6 6 2 1
4 4 3 1 2 0 0 0
5 12 0 2 0 0 0 0
6 26 1 0 0 0 0 0
Pearson's Chi-squared test
data: .Table
X-squared = 90.186, df = 30, p-value = 0.00000006155