Association.Measures.RD: This function calls pairwiseCI package and 3 methods from...

Description Usage Arguments Details Value References See Also Examples

View source: R/801.Association-measures-RD.R

Description

This function calls pairwiseCI package and 3 methods from that are implemented with consistant output view.

Usage

1
Association.Measures.RD(ai, bi, ci, di, alp)

Arguments

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

Details

Three methods from pairwiseCI package is implemented with consistant output view. Methods implemented are Newcombes Hybrid score, Wald continuity corrected and Agresti Caffo.

Value

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

References

[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.

See Also

Prop.diff provides this functionality with additional parameters as well

Other Association Measures methods: Association.Measures.OR, Association.Measures.RR

Examples

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))

RajeswaranV/vcdPlus documentation built on May 27, 2019, 7:28 a.m.