View source: R/interpret_or2.R View source: R/interpret_or.R
calc_or_wald | R Documentation |
Computes the odds ratio between two binary variables along with the Wald confidence intervals.
calc_or_wald(n00, n01, n10, n11, alpha = 0.05)
n00 |
Number of cases where both variables are 0. |
n01 |
Number of cases where x = 0 and y = 1. |
n10 |
Number of cases where x = 1 and y = 0. |
n11 |
Number of cases where both variables are 1. |
alpha |
Significance level for the two-sided Wald confidence interval (default is 0.05). |
A tibble containing odds ratio, lower confidence interval, upper confidence interval, and alpha value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.