ORTest | R Documentation |
Test for a difference of odds ratios
ORTest(Ntot, ns1, nu1, ns0, nu0)
Ntot |
|
ns1 |
|
nu1 |
|
ns0 |
|
nu0 |
|
SE of log odds = sqrt(1/n1+1/n2+1/n3+1/n4) SE of difference in log odds = sqrt(SE1^2 +SE2^2) delta = difference in log odds Test delta / SE from standard normal.
numeric
vector of one-sided p-values from a standard normal.
MIMOSA2
s = simulate_MIMOSA2()
R = MIMOSA2(Ntot=s$Ntot, ns1 = s$ns1, nu1 = s$nu1, nu0 = s$nu0, ns0 = s$ns0,maxit=10)
or_result = ORTest(Ntot = s$Ntot, ns1 = s$ns1, nu1 = s$nu1, nu0 = s$nu0, ns0 = s$ns0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.