Do two factories have different defect rates?
Factory X ships 500 units with 25 defective (5%); factory Y ships 400 units with 32 defective (8%).
Test at the 5% level (two-sided) whether the true defect rates differ, using a pooled two-proportion z-test, and report the z-statistic.