Inference for a Proportion: An Example of a Confidence Interval and a Hypothesis Test

I work through an example of a confidence interval and a hypothesis test for a single proportion, using normal approximation methods (Z test and confidence interval). The data on the proportion of male births is from: Koshy et al. (2010). Parental smoking and increased likelihood of female births. Annals of Human Biology, 37(6): 789--800.