Example: Power Analysis for One Proportion

To create this example:
  1. In the Tasks section, expand the Power and Sample Size folder, and then double-click Tests of Proportions. The user interface for the Tests of Proportions task opens.
  2. From the Type of test drop-down list, select One proportion.
  3. Under the Solve For heading, select Power.
    Note: Only the Power option is available for a one-proportion test.
  4. From the Select the number of sides of the test drop-down list, select One-sided test.
  5. For the proportion, enter 0.2. For the null proportion, enter 0.3.
  6. For the sample size, enter 119.
  7. To run the task, click Submit SAS Code.
Here is a subset of the results:
Exact Test for Binomial Proportion