|
|
|
|
|
Suppose the probability of an event is not 1. The odds of the event is the ratio
For example, if the odds of landing a head in a coin flip is 2, then the probability of landing a head is twice as likely as that of landing a tail.
In a contingency table, with a dichotomous explanatory variable having levels 1 and 2, and a binary response variable with success and failure as two possible levels of outcomes:
where, given the th level of , and are the counts of success and failure, respectively. Two levels of odds for success can be formed:
 , 
We can form the ratio of these two odds, called the odds ratio:
To interpret odds ratio, we look at some hypothetical examples:
- Suppose that, during an average year, 35 out of 100 young drivers get involved in traffic violations, while 10 out of 100 adult drivers are involved. The odds of a young driver getting involved in traffic violations in a typical year is 35/65, and for the adults, it is 10/90. Calculating the odds ratio,
, and we find that a young driver is almost 5 times as likely to get a traffic ticket as an adult. This indicates that the driver's age (the explanatory variable) and the chance of getting a traffic ticket (the response variable) might be associated.
- Another example. Suppose a die is tossed 100 times and the face with one dot is observed 20 times. Another die twice the size of the first die is tossed 100 times and one is observed 16 times. The odds ratio of getting one between the smaller die and the bigger die is
, which shows that the odds of getting a one is about the same for the smaller die as for the bigger die.
From the two examples above, we see that the odds ratio can be used to test the association of two dichotomous variables. The further away OR is from 1, the higher the association is between the two variables.
On the other hand, the closer to 1 the odds ratio is, the closer to independence between the variables. In fact, odds ratio = 1 iff the two dichotomous variables are independent, as can be readily seen in the following argument:
 iff 
From the last equation, we see that
Because the random variable is dichotomous, we see that
 , i=1,2 
Remarks
- Since the odds ratio lies in the interval
, 1 is highly skewed towards 0. So we see that even though 10 and 0.1 both indicate similar degrees of association, 0.1 is a lot closer to 1 than 10 is to 1.
- By taking the natural log of the odds ratio,
, we see that the left boundary value 0 of the odds ratio is now stretched to , and testing of independence is now boiled down to testing whether the log-odds ratio, is 0 or not. It turns out that the log-odds ratio has an asymptotic normal distribution, which can be used to find the confidence interval of OR.
- Another way of transforming the odds ratio so as to get a more symmetrical distribution is:
The transformed odds ratio lies in the interval
. This transformed value is also known as the Yule's Q.
- The use of odds ratios can be generalized to applications of
by 2-way contingency tables, where and , as well as higher way contingency tables involving more than one explanatory variable.
- 1
- A. Agresti, An Introduction to Categorical Data Analysis, Wiley & Sons, New York (1996).
|
"odds ratio" is owned by CWoo.
|
|
(view preamble)
| Also defines: |
odds, log-odds ratio |
|
|
Cross-references: distribution, normal distribution, boundary, log, similar, even, interval, random variable, equation, argument, independent, iff, variables, face, average, outcomes, response variable, binary, explanatory variable, dichotomous, contingency table, ratio, event
There are 32 references to this entry.
This is version 7 of odds ratio, born on 2004-10-04, modified 2007-12-18.
Object id is 6292, canonical name is OddsRatio.
Accessed 26171 times total.
Classification:
| AMS MSC: | 62H17 (Statistics :: Multivariate analysis :: Contingency tables) | | | 62H20 (Statistics :: Multivariate analysis :: Measures of association ) |
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|