powered by
Test for independence using the mid-p method (Rothman 1998)
ormidp.test(a1, a0, b1, b0, or = 1)
number of exposed cases
number of unexposed cases
number of exposed noncases (controls)
number of unexposed noncases (controls)
odds ratio reference value (default is no association)
one-sided p value
two-sided p value
Kenneth J. Rothman and Sander Greenland (1998), Modern Epidemiology, Lippincott-Raven Publishers
Kenneth J. Rothman (2002), Epidemiology: An Introduction, Oxford University Press
Nicolas P. Jewell (2004), Statistics for Epidemiology, 1st Edition, 2004, Chapman & Hall, pp. 73-81
tab2by2.test, oddsratio, riskratio
tab2by2.test
oddsratio
riskratio
# NOT RUN { ##rothman p. 243 ormidp.test(12,2,7,9) ##jewell p. 79 ormidp.test(347,555,20,88) # }
Run the code above in your browser using DataLab