Data from a previous census says that 13% of US citizens are foreign-born. A researcher wondered if that figure was still true, so they took a random sample of 1000 citizens. They observed 123 who were foreign-born and 877 who weren't.
What type of statical test used in this case?
A. A z-test for a proportion
B. A χ2 goodness of fit test
C. A χ2 test for homogeneity
D. A χ2 test of independence
E. A two-sample z-test for a proportion