Example of Tally Individual Variables

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. Choose Stat > Tables > Tally Individual Variables.
  3. In Variables, enter Preference.
  4. Under Display, 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. 114 customers that prefer milk chocolate, and 83 customers 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 type of chocolate sum to 100% (50.75 + 28.50 + 20.75).

Tally

PreferenceCountPercentCumCntCumPct
Dark20350.7520350.75
Milk11428.5031779.25
White8320.75400100.00
N=400