Suppose you want to investigate the quality of a bag of M&Ms. You could rate each candy for different defects such as chips in the candy coating, legibility of the "m" printed on each candy, flat spots or misshaped candies.
Attribute | Attribute is rated as | Number of attribute categories |
---|---|---|
Chip in the coating | Pass or fail | 2 |
Number of chips per candy | 0, 1, 2, 3, 4 or more chips | 5 |
In the candy example, if you measured the size of the chip defect in the candy coating, the data would be continuous data, not attribute data.