Description Usage Arguments Value Examples
This function calculates an estimate of relative risk based on the ratio of two median unbiased estimates of proportions based on the work by Carter et al (2010). The relative risk will be in the order of Pr(Group 1) / Pr(Group 2).
1 | mue_rr(n1, y1, n2, y2, alpha = 0.05)
|
n1 |
Sample size for group 1. |
y1 |
Number of events in group 1. |
n2 |
Sample size for group 2. |
y2 |
Number of events in group 2. |
alpha |
The significance level for the confidence interval. Default value is 0.05. |
A dataframe with the various components generated during the estimation along with the MUE-based estimate of the relative risk.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.