Example (POWER SPEARMAN ONESAMPLE command)

POWER SPEARMAN ONESAMPLE 
  /PARAMETERS TEST=NONDIRECTIONAL SIGNIFICANCE=0.05 
      VARIANCE=FHP N=4 NULL=1 ALTERNATIVE=1 
  /PLOT DIFF NULL_XAXIS ALTERNATIVE_YAXIS VROTATE(10) 
      HROTATE(325).
  • PARAMETERS specifies that the test direction is non-directional, the significance level uses the default 0.05 value, Fieller, Hartley and Pearson (FHP) is specified as the asymptotic variance, 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 1.
  • PLOT specifies that the two-dimensional power by difference between hypothesized values chart displays in the output. The three-dimensional power by sample size (x-axis) and difference between hypothesized values (y-axis) chart also displays in the output. The vertical and horizontal rotation settings use their default values (10 degrees and 325 degrees respectively).