1
$\begingroup$

Posting here because the reddit thread I made didn't gain any traction.

I'm having a little bit of trouble understanding how the odds ratio was calculated in this table, specifically the OR marked in red:

enter image description here

To my understanding, an odds ratio = $$[(\text{# of cases with exposure}) / (\text{# of controls with exposure})] / [(\text{# of cases without exposure}) / (\text{# of controls without exposure})]$$

In the red-highlighted case, my odds ratio is

$$(0.661 / 0.6580) / [(1-0.661) / (1-0.6580)] = 1.0134$$

which is very off from $0.98$. Also, I know I'm using frequencies rather than absolute counts, but it shouldn't matter because if I were to multiply each frequency by the corresponding population values, all the population values would cancel out.

So, what have I done wrong?

Link to the paper

$\endgroup$
2
$\begingroup$

Those odds ratio aren't calculated from the raw allele frequencies. They're calculated from coefficients estimated from complex linear models with a bunch of covariates that are run on subsets of the data then meta-analysed together.

It is a bit surprising that the odds ratio is less than one when the frequency is higher in cases, but the p-value indicates that the OR is not significantly different from 1 so it may be down to statistical noise. It's possible that within populations one allele is more common in cases than in controls but that cases are primarily sampled from populations where that allele is uncommon, causing it to be more common in controls overall. See here. Alternatively, 1/0.98 is pretty close to the value you calculated, so it's possible that the reference allele got switched around at some point.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.