ROR¼eðaþ~biX^1 iÞðaþ~biX^0 iÞ¼e½aaþ~biðX^1 iX^0 iÞ¼e~biðX^1 iX^0 iÞRORX 1 ;X 0 ¼e
~k
i¼ 1
biðÞX 1 iX 0 iea+b =^ ea ×^ eb
e
~k
i¼ 1zi
¼ez^1 ez^2 ezkNOTATION
zi^ =^ bi(X 1 i–X 0 i)ezi
i=1=
k
ÕRORX 1 ;X 0 ¼
Qk
i¼ 1ebiðÞX^1 iX^0 iYki¼ 1ebiðÞX^1 iX^0 i¼eb^1 ðÞX^11 X^01 eb^2 ðÞX^12 X^02 ...ebkðÞX 1 kX 0 kWe then find that theRORequals e to the
difference between the two linear sums.In computing this difference, theas cancel out
and thebis can be factored for theith variable.Thus, the expression forRORsimplifies to the
quantity e to the sumbitimes the difference
betweenX 1 iandX 0 i.We thus have a general exponential formula for
the risk odds ratio from a logistic model com-
paring any two groups of individuals, as speci-
fied in terms of X 1 and X 0. Note that the
formula involves thebis but nota.We can give an equivalent alternative to our
ROR formula by using the algebraic rule that
says that the exponential of a sum is the same
as the product of the exponentials of each term
in the sum. That is, e to theaplusbequals e to
theatimes e to theb.More generally, e to the sum ofziequals the
product of e to theziover alli, where thezi’s
denote any set of values.We can alternatively write this expression
using the product symbolP, whereP is a
mathematical notation which denotes the
product of a collection of terms.Thus, using algebraic theory and lettingzicor-
respond to the termbitimes (X 1 iX 0 i),we obtain thealternative formulaforRORas
the product fromi¼1tokof e to thebitimes
the difference (X 1 iX 0 i).That is,Pof e to thebitimes (X 1 iX 0 i) equals
e to theb 1 times (X 11 X 01 ) multiplied by e to
theb 2 times (X 12 X 02 ) multiplied by addi-
tional terms, the final termbeing e to thebktimes (X 1 kX 0 k).24 1. Introduction to Logistic Regression