1. ## [SOLVED] data question

look this question might seem really easy but i am not particularly good at data and that stuff. :P

Age Frequency
15-29 470
30-44 165
45-59 93
Total 728

How do you work out the:
mean
median

2. To determine the mean:

Take the mean of each age group. We can assume an equal distribution of ages among each age group.

Mean of 15-29: (15+29)/2 = 22
Mean of 30-44: (30+44)/2 = 37
Mean of 45-59: (45+59)/2 = 52

Then, for each group, multiply the mean by the frequency of that group. Add all three products, then divide by the total number of participants.

For 15-29: 22 * 470 = 10,340
For 30-44: 37 * 165 = 6,105
For 45-59: 52 * 93 = 4,836

Total: 21,281

The mean is: 21,281 / 728 = 29.23

To calculate the median:

The median has very little to do with the frequency. So just take the mean of the two extremes to determine the median:

(15+59)/2 = 37