Description Usage Arguments References Examples

View source: R/RelativeRisk.NIS.R

Ho: *OR ≤ margin*

Ha: OR > margin

1 | ```
RelativeRisk.NIS(alpha, beta, or, k, pt, pc, margin)
``` |

`alpha` |
significance level |

`beta` |
power = 1-beta |

`or` |
or=pt(1-pc)/pc(1-pt) |

`k` |
k=nT/nC |

`pt` |
the probability of observing an outcome of interest for a patient treatment by a test treatment |

`pc` |
the probability of observing an outcome of interest for a patient treatment by a control |

`margin` |
the superiority or non-inferiority margin |

Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003

1 2 | ```
Example.4.6.4<-RelativeRisk.NIS(0.05,0.2,2,1,0.4,0.25,.2)
Example.4.6.4
``` |

TrialSize documentation built on May 20, 2017, 4:55 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.