Answer:
Hi!
Put the numbers in order:
City A: {2, 3.5, 4, 4, 5, 5.5}
City B: {3.5, 4, 5, 5.5, 6, 6}
a)
- The mean monthly rainfall amount for city A: 4 in;
- The mean monthly rainfall amount for city B: 5 in;
b)
- The MAD monthly rainfall amount for city A: 0.8 in;
- The MAD monthly rainfall amount for city B: 0.8 in;
c)
- The median monthly rainfall amount for city A: 4 in;
- The median monthly rainfall amount for city A: 5.25 in;
Explanation:
a) The general definition of mean of a set X is:
mean = (x₁ + x₂ + x₃ + ... xₙ)/n
mean = (4+3.5+5+5.5+4+2)/6 = 4
mean = (5+6+3.5+5.5+4+6)/6 = 5
b) The general definition of mean absolute deviation of a set X is:
MAD = (|x₁-mean| + |x₂-mean| + |x₃-mean| + ... + |xₙ-mean|)/n
MAD = ( |4-4| + |3.5-4| + |5-4| + |5.5-4| + |4-4| + |2-4| )/6 = (0 + 0.5 + 1 + 1.5 + 0 + 2)/6 = 5/6 =0.8
MAD = ( |5-5| + |6-5| + |3.5-5| + |5.5-5| + |4-5| + |6-5| )/6 = (0 + 1 + 1.5 + 0.5 + 1 + 1)/6 = 5/6 = 0.8
c) The general definition of median depends on the quantity of elements in the set X and it represents the middlemost value of the set:
When the quantity is odd:
median= x₍ₙ₊₁₎/₂
When the quantity is even:
median= (xₙ/₂ + x ₙ₊₂/₂) /2
median = 2, 3.5, 4, 4, 5, 5.5 = (4 + 4) / 2 = 4
median = 3.5, 4, 5, 5.5, 6, 6 = (5 + 5.5) / 2 = 5.25