# Example of Tally

A market analyst for a chocolate company wants to determine whether gender and chocolate preference (Dark, Milk, or White) are associated. Gender and chocolate preference are recorded for 400 randomly selected customers.

The analyst wants to calculate the number and the percentage of respondents that prefer dark chocolate, milk chocolate, and white chocolate before testing for an association.

1. Open the sample data, ChocolatePreferences.MTW.
2. Open the Tally dialog box.
• Mac: Statistics > Summary Statistics > Tally
• PC: STATISTICS > Describe > Tally
3. In Variable, enter Preference.
4. Under Statistics, select Counts, Percents, Cumulative counts, and Cumulative percents.
5. Click OK.

## Interpret the results

The count of customers that prefer dark chocolate is 203, which represents 50.75% of all customers surveyed. There are 114 customers that prefer milk chocolate and 83 that prefer white chocolate.

The cumulative count of 317 represents customers that prefer dark or milk chocolate. The cumulative percentage indicates that 79.25% (317/400) of the customers prefer dark or milk chocolate. The percentages for each chocolate type sum to 100% (50.75 + 28.50 + 20.75).

By using this site you agree to the use of cookies for analytics and personalized content.  Read our policy