Description Usage Arguments Details Value Examples
View source: R/n_fisher_boschloo.R
power_fisher_boschloo
performs the exact power calculation for the
fisher-boschloo test.
The method used here is written by S. Wellek.
See [2] for further details.
1 | power_fisher_boschloo(p_Y, p_X, n_Y, n_X, alpha, SW = 1e-04, MAXH = 10)
|
p_Y |
Event rate of Group Y on the alternative. |
p_X |
Event rate of Group X on the alternative. |
n_Y |
Sample size of Group Y. |
n_X |
Sample size of Group X. |
alpha |
Significance level α. |
SW |
Default = .001. Step width. |
MAXH |
Default = 10. |
[2] S. Wellek: Nearly exact sample size calculation for powerful non-randomized tests for differences between binomial proportions [2015], Statistica Neerlandica
n_fisher_boschloo
returns an object of type list. The resulting
Sample Sizes are located in entrys named n_X
, n_Y
, n
.
The resulting power is named power_out
.
1 | power_fisher_boschloo(p_Y = .5, p_X = .3, n_Y = 70, n_X = 40, alpha = .025)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.