Power Analysis of OneSample T Test
This feature requires IBM® SPSS® Statistics Base Edition.
Power analysis plays a pivotal role in a study plan, design, and conduction. The calculation of power is usually before any sample data have been collected, except possibly from a small pilot study. The precise estimation of the power may tell investigators how likely it is that a statistically significant difference will be detected based on a finite sample size under a true alternative hypothesis. If the power is too low, there is little chance of detecting a significant difference, and nonsignificant results are likely even if real differences truly exist.
In onesample analysis, the observed data are collected as a single random sample. It is assumed that the sample data independently and identically follow a normal distribution with a fixed mean and variance, and draws statistical inference about the mean parameter.
 From the menus choose:
 Select a test assumption Estimate setting (Sample size or Power).

When Sample size is selected, enter either a Single power value for sample size estimation value (the value must be a single value between 0 and 1), or select Grid power values and then click Grid to view projected sample sizes for a range of specific Power values.
For more information, see Power Analysis: Grid Values.
 When Power is selected as the test assumption Estimate method, enter an appropriate Sample size for power estimation value. The value must be an integer greater than 1.
 Optionally, select an option from the Specify
field.
 Hypothesized Values
 The default setting provides the Population mean and Null value settings.
 Effect Size
 Cohen's f is used to estimate the effect size as an input to the estimation of the power or sample size. The defined effect size Value is passed to the intermediate step in the procedure and calculates the desired power or sample size.
 Enter a Population standard deviation value. The value must be a single numeric greater than 0.
 Select whether the test is one or twosided.
 Nondirectional (twosided) analysis
 When selected, a twosided test is used. This is the default setting.
 Directional (onesided) analysis
 When selected, power is computed for a onesided test.
 Optionally, specify the significance level of the Type I error rate for the test in the Significance level field. The value must be a single double value between 0 and 1. The default value is 0.05.
 You can optionally click Plot to specify Power Analysis of OneSample T Test: Plot settings (chart output, twodimensional plot settings, and
threedimensional plot settings).Note: Plot is available only when Power is selected as the test assumption.
 Optionally, click Precision to estimate the sample size based on confidence intervals by specifying the values of the confidence interval halfwidths. For more information, see Power Analysis: Precision.
This procedure pastes POWER MEANS ONESAMPLE command syntax.