b Let's determine the quotient of the certain type of cakes with respect to each celebration. First we calculate the total number of cupcakes ordered for the different celebrations.
Birthday:Wedding:Halloween:4th of July:5883+3591+27662771+1447+1228672+188+125519+311+472=12240=5446=985=1302
Now we can determine the percentages. We will begin with birthdays and weddings.
FlavorFudgyFantasyFluffyFettiFruityFunBirthday122405883≈0.48122403591≈0.29122402766≈0.23Wedding54462771≈0.5154461447≈0.2754461228≈0.23
We will continue with Halloween and the
4th of July.
FlavorFudgyFantasyFluffyFettiFruityFunHalloween985672≈0.68985188≈0.19985125≈0.134th of July1302519≈0.401302311≈0.241302472≈0.36
Examining the tables, we see that there is an association between type of celebration and cupcake flavor. If there wasn't, the percentages would be the same across all types of events, or at least roughly the same for a certain type of cake. Comparing the percentages on Halloween and the
4th of July with the other celebrations, we see that they are different.