ci | R Documentation |
Confidence intervals for a difference between two proportions
ci_prop_diff(t1, n1, t2, n2, sig_level = 0.95)
ci_rate_ratio(r1, n1, r2, n2, sig_level = 0.95)
ci_risk_ratio(n1, t1, n2, t2, sig_level = 0.95)
t1 |
Proportion 1 |
n1 |
Sample size 1 |
t2 |
Proportion 2 |
n2 |
Sample size 2 |
sig_level |
Significance level |
r1 |
Incidence rate 1 |
r2 |
Incidence rate 2 |
numeric
https://www.bmj.com/content/343/bmj.d2304
ci_prop_diff(0.56, 80, 0.76, 80)
ci_rate_ratio(4.1, 157, 4.4, 178)
ci_rate_ratio(4.1, 157, 4.4, 178)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.