ss_fm | R Documentation |
sample size calcukation for difference in binomial proportions using Farrington-Manning method
ss_fm(alpha, power, pc, pt, m2, pc_r, pt_r)
alpha |
numeric, desired alpha level (one-sided) |
power |
numeric, desirerd power level |
pc |
numeric, assumed proportion of events in group 'c' |
pt |
numeric, assumed proportion of events in group 't' |
m2 |
numerric, pre-specified margin |
pc_r |
numeric, restricted under the null proportion of events in group 'c' |
pt_r |
numeric, restricted under the null proportion of events in group 't't |
function returns sample size per group assumimg 1:1 allocation ratio
numeric
Normal
ss_fm(0.025, 0.8, 0.8, 0.8, 0.1, 0.78, 0.78 - 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.