Questions tagged [odds-ratio]

A measure of association between two binary variables equal to the odds of a 'positive' outcome in 1 variable divided by the odds in the other. The OR ranges (0, infinity). It has a strong connection to logistic regression.

The odds ratio is a measure of association between two binary variables. If $X_1$ and $X_2$ are two conditions and the outcome of interest is coded as $1$, then $p(1|X_1)$ is the probability of that outcome occurring in the first condition. The odds ratio is equal to:

$$ {\rm OR} = \frac{ \frac{p(1|X_1)}{(1-p(1|X_1))} }{ \frac{p(1|X_2)}{(1-p(1|X_2))} } $$ or, $$ {\rm OR} = \frac{p(1|X_1)\quad (1-p(1|X_2))}{(1-p(1|X_1))\quad p(1|X_2)\quad} $$

The OR ranges $(0, +\infty)$. When ${\rm OR} < 1$, it indicates a negative relationship between the two variables; that is, it indicates the event is less likely to occur in the $X_1$ condition. ${\rm OR} > 1$ indicates a positive relationship. When the probabilities are exactly equal, $OR = 1$. Due to this asymmetry, the odds ratio is sometimes difficult for people to interpret and they take the natural log of the odds ratio. In that case, a positive log odds ratio implies the event is more likely in the first condition, a negative log odds ratio implies the even is less likely in the first condition, and $\ln(OR) = 0$ implies equality.

The odds ratio (and especially the log odds ratio) has a strong connection to logistic regression. The fitted coefficients for continuous variables in a logistic regression model are the log odds ratios associated with a one unit change in the variable in question. (The intercept is the log of the odds [not ratio] of the event when all the variables are $0$.)

715 questions
11
votes
2 answers

Odds ratio vs probability ratio

An odds is the ratio of the probability of an event to its complement: $$\text{odds}(X) = \frac{P(X)}{1-P(X)}$$ An odds ratio (OR) is the ratio of the odds of an event in one group (say, $A$) versus the odds of an event in another group (say,…
Alexis
  • 29,850
3
votes
1 answer

Using odds ratios to find probabilities/proportions of a population

I have the following odds ratios for a person in a given age group having a certain condition: Ages 50 and above: $OR =1$ Ages 40-49: $OR = 1.67$ Ages 30-39: $OR = 2.43$ Ages 20-29: $OR = 3.36$ If I also know that $43.5\%$ of people aged 20-50 have…
Stanley
  • 141
  • 3
2
votes
1 answer

Is "A person from Group X was 3 times more likely than a person from Group Y to have the disease" an accurate gloss of an odds ratio of 3?

All the interpretations I've seen have referred instead to the odds being 3 times higher in Group X. However, It is not clear to me that there is a meaningful difference between these formulations. Edit: In thinking that it was OK to express things…
2
votes
1 answer

Cannot replicate odds ratio

I am trying to replicate some odds ratio calculations which are reported in this paper. For example in the paper on page 3 in the Strome et al. data for tonsil: it states there are 52 cases and 48 controls. HPV % cases = 40% and controls =…
2
votes
1 answer

Phi coefficient and odds ratios

I have something strange going on. My phi coefficient of two binary variables is .07 while my odds ratio of the same two binary variables is 1.80. How is this possible?
2
votes
2 answers

How to calculate the Adjusted Odds Ratio?

I saw various articles reporting the "adjusted odds ratio" however nowhere it was indicated how exactly it was calculated. I understand the motivation for computing an adjusted odds ratio, however I couldn't find a reference for algorithms to…
a_guest
  • 161
2
votes
1 answer

Interpreting odd's ratios

If A is a binary faction (1 A and 0 not A) and if the odds ratios of A to B is (say) 1.2409 (24 percent or e ^ 0.2158). Then is the odds ratio of B to A 76% or 1 – 0.24?
Jeff
  • 167
2
votes
3 answers

Can you add up different genes' odds ratios to get a general odds ratio?

Let's say you have three risk SNPs from different genes that have been associated with a particular disease in different studies, but, as far as I know, there is no study including all. ORs have been calculated for each risk SNP For example. Gene A …
2
votes
1 answer

Odds ratios question

If you have a categorical variable with $k$ levels (so $k-1$ indicator variables), is there an easy way to calculate the odds ratio? Suppose the first level is the reference level. The model would be $$ \frac{p(x_{2},\dots, x_{k-1})}{1-p(x_{2},…
James
  • 59
2
votes
1 answer

Interpretation of Adjusted Odds Ratios

Hello can anyone kindly guide me about the correct way to interpret adjusted odds ratios. I am working on a project (in SPSS) on women's autonomy and domestic violence. When I take the (simple) odds ratios then women's non-participation in health…
NH2015
  • 21
1
vote
1 answer

Calculate log2 ratio

I have to calculate log2 ratio for odds and don't know how to do it. Group A Group B 0.031571 0.0170071 There are occurrences of event in GroupA and Group B - I want to calculate how much Group A has this specific event compared to…
pogibas
  • 131
1
vote
0 answers

Can Odds Ratio be used for a 2x2 table of observed and expected frequencies?

n = 164 where Group 1 = 58, Group 2 =50, Group 3 = 38 and Group 4 = 18. The expected frequencies are 25% (41). Would it be appropriate to calculate an Odds Ratio if I wanted to compare Group 1 v Group 4? (58 x 41)/(41 x 18) = 3.22 Would this…
Chris_F
  • 63
  • 5
1
vote
0 answers

Can you adjust an odds ratio for covariates without having subject level data on those covariates?

I'm working on a research project and am trying to adjust an odds ratio for several covariates including sex, age, high/low socioeconomic status, and high/low disease comorbidity. I have the number of subjects that fall into each covariate for each…
Jason
  • 11
1
vote
1 answer

Calculate odds ratios for continuous variables

I am at the univariable stage of my analysis, and I am looking at significance of individual variables/predictors. I've tested each predictor for significance by Wilcoxon Rank-Sum for continuous variables (not using t-test because data are not…
mountainave
  • 137
  • 1
  • 2
  • 6
1
vote
1 answer

Odds ratio, what is the change in percentage?

I have been asked to describe what percentage-change OR 0.4 and 6.8 mean for the participants of my study, related to categories of nurtrition and level of hospital care. I have performed mixed models, for categorical outcomes the model was a…
1
2 3