I discuss the sampling distribution of the difference in sample proportions, and confidence intervals and hypothesis tests for the difference in population proportions (using large sample Z procedures based on the normal approximation).

The male birth rate data is from:

Koshy et al. (2010). Parental smoking and increased likelihood of female births. Annals of Human Biology, 37(6): 789–800.