Does the defect rate exceed the claimed 2%?
A manufacturer claims its defect rate is below 2%. An auditor tests whether the true rate exceeds 2%. In a sample of 1000 items, 28 are defective (2.8%).
Run a one-sided one-proportion z-test at the 5% level (is the defect rate above 2%?): report the z-statistic and the decision.