Description Usage Arguments Details Value References See Also Examples
View source: R/801.Association-measures-RD.R
This function calls pairwiseCI package and 3 methods from that are implemented with consistant output view.
1 | Association.Measures.RD(ai, bi, ci, di, alp)
|
ai |
- Numeric value representing True Positives |
bi |
- Numeric value representing False Positives |
ci |
- Numeric value representing False Negatives |
di |
- Numeric value representing True Negatives |
alp |
- Numeric value representing required significance level |
Three methods from pairwiseCI package is implemented with consistant output view. Methods implemented are Newcombes Hybrid score, Wald continuity corrected and Agresti Caffo.
A dataframe with
Method |
Three methods are implemented - Newcombes Hybrid score, Wald continuity corrected and Agresti Caffo |
Estimate |
The estimated value |
Lower.Limit |
The lower limit |
Upper.Limit |
The upper limit |
[1] 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. [2] Upton, G. J. (2016). Categorical Data Analysis by Example. John Wiley & Sons.
Prop.diff
provides this functionality with additional parameters as well
Other Association Measures methods: Association.Measures.OR
,
Association.Measures.RR
1 2 | ai=7; bi=11; ci=1; di=17; alp=0.05 # Example from [reference 1]
suppressWarnings(Association.Measures.RD(ai,bi,ci,di,alp))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.