Compare categorical groups using two-way tables
A workplace survey records whether staff usually bring lunch. Group A works day shifts; Group B works evening shifts. Yes means "Bring lunch"; No means "Other lunch". The displayed counts are synthetic teaching data. Each included record belongs to one of two groups and exactly one of the two response categories
| Group | Yes | No | Total |
|---|---|---|---|
| A | 36 | 24 | 60 |
| B | 90 | 10 | 100 |