Description Usage Arguments Details Value References
Computes the adjusted inverse hyperbolic sine confidence interval for the odds ratio.
1 | adj_inv_sinh_ci_or(data, x, y, psi1 = 0.6, psi2 = 0.4, alpha = 0.05)
|
data |
tbl. Input data |
x, y |
character. Variable names |
psi1, psi2 |
double. Pseudo-frequencies (both should be > 0), Default: 0.6, 0.4 |
alpha |
double. The nominal level, Default: 0.05 |
Procedure as described in Fagerland & Newcombe (2013) and Fagerland, Lydersen, & Laake (2017).
The function is an adaptation of the Matlab
script provided by Fagerland et
al. (2017) on the book's
website.
tbl. Data frame with odds ratio and CIs
Fagerland, M., Lydersen, S., & Laake, P. (2017). Statistical analysis of contingency tables. London: Chapman and Hall.
Fagerland, M. W., & Newcombe, R. G. (2013). Confidence intervals for odds ratio and relative risk based on the inverse hyperbolic sine transformation. Statistics in Medicine, 32(16), 2823–2836.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.