n = the total number of students in the elementary schools
p-hat = the sample proportion of students who are only children
po = the hypothesized proportion of students in the special program who are only children
Ho: p-hat = po
HA: p-hat ≠ po
n = 326 elementary school students
p-hat = 32/100 = 0.32
po = 123/326 = 0.3773
Let's go on ahead and use the one-proportion z-test.
z = (p-hat) - po / √(po)(1 - po) / n = 0.32 - 0.3773 / √(0.3773)(0.6227)/326 = -0.0573006/0.0268457 = -2.13
P(z ≤ -2.13) = 0.0166 and P(z > 2.13) = 0.0166. Add them since we are doing the 2-sided test. The p-value will be 0.0332 > 0.02.
Since the p-value is greater than the significance level, we accept the null hypothesis. There is no sufficient evidence that shows the proportion of only children in the special program is significantly different from the proportion for the school district.