View source: R/RelativeRisk.Equality.R
RelativeRisk.Equality | R Documentation |
Ho: OR=1
Ha: not equal to 1
RelativeRisk.Equality(alpha, beta, or, k, pt, pc)
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 |
Chow SC, Shao J, Wang H. Sample Size Calculation in Clinical Research. New York: Marcel Dekker, 2003
Example.4.6.4<-RelativeRisk.Equality(0.05,0.2,2,1,0.4,0.25)
Example.4.6.4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.