A certain country has four regions: North, East, South, and West. The population of these regions are 3 million, 4 million, 5 million, and 8 million, respectively. There are 4 cities in the North, 3 in the East, 2 in the South, and there is only 1 city in the West. Each person in the country lives in exactly one of these cities.
a) What is the average size of a city in a region? (This is the arithmetic mean of the population of the cities, and is also the expected value of the population of a city chosen uniformly at random.)
b) A region of the country is chosen uniformly at random, and then a city within that region is chosen uniformly at random. What is the expected population size of this randomly chosen city?
- For part A, letting X = the size of the city, I got E(X) = 1/10[3,000,000 + 4,000,000 + 5,000,000 + 8,000,000] = 2,000,000
- For part B, 1/4[750,000 + 4/3(1,000,000) + 2,500,000 + 8,000,000] = about 3145833.33
- My answers seem off but I am not sure where exactly in my work I am off. Any help would be greatly appreciated!