Description Usage Arguments Details Value See Also Examples
calculates (1-alpha)100% confidence interval for difference in binomial proportions, and rejects/accepts the null hypothesis with respect to the pre-specifid fixed margin
1 |
df |
dataframe, output from sim_cont function |
m2 |
numeric, pre-specified fixed margin |
y |
string, name of the outcome column |
alpha |
numeric, one-sided alpha, Default: 0.025 |
returns dataframe with 8 columns and 1 row, inlcuding estimated proportion/n in each group, difference in proportions(group 'c' - group 't'), variance of that difference (using Wald's method), lower and upper bounds of the confidence interval and null hypothesis decision based on m2.
dataframe
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.