
Power calculation for the Indifferent-zone approach for normal outcomes
Source:R/ss_best_normal.R
power_best_normal.RdEstimate the probability of correctly select the best group among
ngroups groups if the difference between the best group and the next best
is at least dif(the Indifferent-Zone), and the standard deviation is sd
Arguments
- dif
Numeric. Indifferent-zone. Minimum difference that is considered meaningful.
- sd
Numeric. Common standard deviation of the response variable.
- ngroups
Integer. Number of groups (treatments) being compared.
- npergroup
Integer. Number in each group.
- seed
Optional. Integer seed to use in the internal call to
multp().
Note
The function uses the quantile function multp(), which computes critical values
for the selection procedure. This implementation assumes equal variances and independent samples.