we are given the following data:
Color Frequency
Red 10
Blue 16
Green 28
Purple 18
Assuming that one bag contains 20 candies, and there are 20 bags, therefore the sample size is 400. Now, we can compute the relative frequencies of all colors of candies:
Red = 10/400 = 0.025