Validity: This procedure is considered valid as long as the sample size is large relative to the hypothesized probability (\(n \times \pi_0 > 10\) and \(n \times (1 - \pi_0) > 10\)), and you have a representative sample from the process of interest.
Theory-Based Inference applet: Specify the hypothesized value, use the button to specify the direction of the alternative (\(<\text{,}\)\(>\text{,}\) or \(\neq\) for not equal), enter the sample size and either the count or the proportion of successes. Press the Calculate button.
iscamonepropztest(observed, n, hypothesized = Ο_0, alternative="greater","less", or "two.sided", conf.level). You can enter either the number of successes or the proportion of successes (\(\hat{p}\)) for the "observed" value.