Tools › Statistics › Surveys and Sampling › Survey Analysis › Example
Agresti Table 2.5: gender × party identification (2000 GSS)
| Tool | Survey Analysis |
| Source | Agresti, A. (2007). An Introduction to Categorical Data Analysis, 2nd ed. Wiley, Hoboken, NJ. Tables 2.5 and 2.6. |
| Level | Undergraduate |
Problem
The 2000 General Social Survey gave females 762 Democrat, 327 Independent, 468 Republican and males 484, 239, 477. Test independence of gender and party identification and interpret the standardized residuals.
Inputs to Enter
- Data layout 'Cross-tab of counts'
- x, Democrat, Independent, Republican / Females, 762, 327, 468 / Males, 484, 239, 477
- Row variable gender, column variable party
Answers
- X² = 30.0, G² = 30.0 on 2 df, P < 0.001 (tool 30.0701 / 30.0167)
- Expected females–Democrat 703.7
- Standardized residuals females: 4.50, 0.70, −5.32 (Table 2.6)
Notes
Switch the Data Layout select to the cross-tab form and paste the three lines; not the default case.