Description Usage Arguments Value Examples
View source: R/Non_Inferiority_RD_RR.R
test_RR
returns the value of the Farrington-Manning test statistic
for non-inferiority of the risk ratio between two proportions.
1 | test_RR(x_E, x_C, n_E, n_C, delta, better)
|
x_E |
Vector of number of events in experimental group. |
x_C |
Vector of number of events in control group. |
n_E |
Sample size in experimental group. |
n_C |
Sample size in control group. |
delta |
Non-inferiority margin. |
better |
"high" if higher values of \mjseqnx_E favour the alternative hypothesis and "low" vice versa. |
Vector of values of the RD test statistic.
1 | test_RD(3, 4, 10, 10, 0.2, "high")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.