Example (POWER PEARSON ONESAMPLE command)

POWER PEARSON ONESAMPLE 
  /PARAMETERS TEST=NONDIRECTIONAL ADJUST_BIAS=TRUE SIGNIFICANCE=0.05 
       N=4 NULL=1 ALTERNATIVE=.5 
  /PLOT DIFF N_YAXIS DIFF_XAXIS VROTATE(10) HROTATE(325).
  • PARAMETERS specifies that the test direction is non-directional, bias adjustment is enabled, the significance level uses the default 0.05 value, the sample size is set to 4, the null hypothesis value of the correlation parameter is set to 1, and the alternative hypothesis value of the correlation parameter is set to 0.5.
  • PLOT specifies that the two-dimensional power by difference between hypothesized values chart displays in the output. The three-dimensional power by sample size (y-axis) and difference between hypothesized values (x-axis) chart also displays in the output. The vertical and horizontal rotation settings use their default values (10 degrees and 325 degrees respectively).