Description Usage Arguments Examples

Returns E-values for the point estimate and the lower confidence interval limit for a positive risk difference. If the risk difference is negative, the exposure coding should be first be reversed to yield a positive risk difference.

1 | ```
evalues.RD(n11, n10, n01, n00, true = 0, alpha = 0.05, grid = 1e-04)
``` |

`n11` |
Number of exposed, diseased individuals |

`n10` |
Number of exposed, non-diseased individuals |

`n01` |
Number of unexposed, diseased individuals |

`n00` |
Number of unexposed, non-diseased individuals |

`true` |
True value of risk difference to which to shift the point estimate. Usually set to 0 to consider the null. |

`alpha` |
Alpha level |

`grid` |
Spacing for grid search of E-value |

1 2 3 4 5 6 7 8 9 10 11 12 | ```
## example 1
## Hammond and Holl (1958 JAMA) Data
## Two by Two Table
## Lung Cancer No Lung Cancer
##Smoker 397 78557
##Nonsmoker 51 108778
# E-value to shift observed risk difference to 0
evalues.RD( 397, 78557, 51, 108778)
# E-values to shift observed risk difference to other null values
evalues.RD( 397, 78557, 51, 108778, true = 0.001)
``` |

EValue documentation built on Sept. 21, 2018, 6:41 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.