With raw data, there is one row for each observation.
Row 1 represents a female that agreed with the survey question.
C1 | C2 | C3 |
---|---|---|
Respondent | Gender | Survey Results |
1 | 1 | 1 |
2 | 2 | 1 |
3 | 2 | 3 |
4 | 1 | 2 |
In a contingency table, each cell contains counts.
Row 1 indicates that 17 males and 18 females agreed with the survey question.
C1 | C2 |
---|---|
Male | Female |
17 | 18 |
10 | 19 |
19 | 17 |
With frequency data, each row represents a unique combination of groups or factors.
C1 | C2 | C3 |
---|---|---|
Gender | Survey Response | Total |
2 | 1 | 17 |
1 | 2 | 10 |
1 | 3 | 19 |
2 | 1 | 18 |