Computes a continuity-corrected z-test for a population proportion in a
1-group design. A confidence interval for a population proportion
is a recommended supplement to the z-test (see ci.prop).
For more details, see Section 1.7 of Bonett (2021, Volume 3)