PARAMETERS Subcommand (POWER PROPORTIONS ONESAMPLE command)

PARAMETERS controls the test assumptions. The keywords specify the sample size, total number of trials, sample size estimation, population proportion, null hypothesis value, estimation method, test direction, and significance level.

POWER = value(s)
Optional keyword that specifies the desired power level(s). There is no default. Multiple values can be specified with each value separated by a blank space (or blank spaces). A grid of power values from value1 to value2 with the increment of value3, connected by the keywords TO and BY, can also be specified. When a grid of power values is specified, only one valid set of [value1 TO value2 BY value3] is allowed. Value1 and value2 must satisfy the condition 0 < value1 ≤ value2 < 1. The case where value1 = value2 is equivalent to specifying a single value1, regardless of value3. In order to restrict the number of power values, value3 must satisfy the condition 0.01 ≤ value3 < 1. The grid can be mixed with other power values, and can be placed anywhere.
Notes:
  • All specified values must be in the range [0,1].
  • In cases where duplicate values are specified, only unique values are used, and a warning message is generated to indicate that all duplicate values are excluded from the analysis.
TEST = {NONDIRECTIONAL}{DIRECTIONAL}
An optional keyword that determines whether the test is one or two-sided. NONDIRECTIONAL, or a two-sided test, is the default setting. When DIRECTIONAL is specified, power is computed for a one-sided test.
ESTIMATE = {NORMAL} {BINOMIAL}
An optional keyword that determines the power estimation method, if the total sample size specified for /PARAMETERS N does not exceed 500. NORMAL calls for the normal approximation (the default setting). BINOMIAL calls for the binomial enumeration method. The keyword has no effect when the specified /PARAMETERS N value exceeds 500 (normal approximation is used).
TIMER = {value}
An optional keyword to specify the maximum number of minutes allowed to estimate the sample size. If specified, the value must be a single positive integer to denote the number of minutes. The keyword takes effect when ESTIMATE = BINOMIAL and POWER is specified. The keyword is not pasted by default, which turns the timer off completely. When the time limit is reached, the analysis is terminated and a warning message is displayed (no results are provided).
CONTINUITY = boolean
An optional keyword that controls whether or not the continuity correction is used for the normal approximation method. FALSE is the default setting. Continuity correction is applied when TRUE is specified. The keyword takes effect when ESTIMATE = NORMAL.
SIGNIFICANCE = value
An optional keyword that specifies the significance level of the Type I error rate for the test. The value must be a single double value ∈(0,1). The default level is 0.05.
N = integer
A required keyword that specifies the sample size. The value must be a single integer ≥ 1.
NULL = value
An optional keyword that specifies the null hypothesis value of the proportion parameter. Must be a single numeric value ∈(0,1). The default setting is 0.50.
ALTERNATIVE = value
A required keyword that specifies the alternative hypothesis value of the proportion parameter. Must be a single numeric value ∈(0,1). When POWER is specified, the ALTERNATIVE value cannot be equal to the NULL value, and must be a single numeric value ∈(0,1).