View source: R/ss_best_normal.R
| power_best_normal | R Documentation |
Estimate 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
power_best_normal(dif, sd, ngroups, npergroup, seed = NULL)
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 |
Numeric. Probability of correctly selecting the best group.
The function uses multp(), which computes the joint cumulative distribution
for the selection procedure. This implementation assumes equal variances and independent samples.
power_best_normal(dif = 0.5, sd = 1, ngroups = 3, npergroup = 11)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.