Example (POWER PROPORTIONS INDEPENDENT command)

POWER PROPORTIONS INDEPENDENT 
  /PARAMETERS TEST=NONDIRECTIONAL SIGNIFICANCE=0.05 N=1 2 
      PROPORTIONS=.5 .75 METHOD=CHISQ ESTIMATE=BINOMIAL POOLED=TRUE 
  /PLOT  N1_YAXIS  N2_XAXIS RISK_DIFF VROTATE(10) HROTATE(325).
  • PARAMETERS specifies that the test direction is non-directional, the significance level uses the default 0.05 value, the total number of trials for the two groups is set to 1 and 2, the statistical test is chi-square, the estimation method is binomial approximation, and the estimation of the standard deviation is pooled.
  • PLOT specifies that the three-dimensional power by number of trials in Group 2 (x -axis) and number of trials in Group 1 (y-axis) chart will display in the output. The two-dimensional power by risk ratio chart will also display in the output. The vertical and horizontal rotation settings use their default values (10 degrees and 325 degrees respectively).