PARAMETERS Subcommand (POWER SPEARMAN ONESAMPLE command)
PARAMETERS
controls the test assumptions. The keywords specify the sample size,
power for sample size estimation, asymptotic variance, null hypothesis value of the correlation
parameter, alternative hypothesis value of the correlation parameter, test direction, and the
significance level of the type I error rate.
- 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
tovalue2
with the increment ofvalue3
, 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
andvalue2
must satisfy the condition0 < value1 ≤ value2 < 1
. The case wherevalue1 = value2
is equivalent to specifying a singlevalue1
, regardless ofvalue3
. In order to restrict the number of power values,value3
must satisfy the condition0.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.
- All specified values must be in the range
- 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.
- Variance = {BW} {FHP} {CC}
- An optional keyword that determines how the asymptotic variance is estimated
for the power analysis. BW is the setting by default, which estimates the
variance suggested
by Bonett and Wright. FHP and CC estimate the variance suggested by Fieller et al.,and Caruso and Cliff, respectively.
- 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 is0.05
. - N = integer
- A required keyword that specifies the sample size. The value must be a
single integer > 3 when
VARIANCE = BW
orFHP
, and > 2 whenVARIANCE = CC
. N and POWER cannot be specified simultaneously. - NULL = value
- An optional keyword that specifies the null hypothesis value of the
correlation parameter. Must be a single numeric value
∈(-1,1)
. The default setting is 0. - ALTERNATIVE = value
- A required keyword that specifies the alternative hypothesis value of the
correlation parameter. Must be a single numeric value
∈(-1,1)
. When POWER is specified, the ALTERNATIVE value cannot be equal to the NULL value.