# Odds ratio from logistic regression isn't negative when it should be

I just recently started working with logistic regression, and I'm struggling with the interpretation of the results.

Say I have brain disease (BD) as an outcome and gestational age (GE) as an explanatory variable. The OR is 0.99. I have used R to calculate this:

gl1 <- glm(BD~GE, data, family = "binomial")


How do I know what my reference group is in this case? Does the model pick a reference for me? Individuals with disease is explained by 1, and individuals with no disease are 0. The clinical theory is that individuals with a low GE is more likely to get BD.

But this doesn't make sense to me in this case. Every time I Google this issue, I get: "every increase of GE is associated with 0.99 times the odds of BD". But shouldn't it be opposite? That is, every decrease of GE, is associated with 0.99 time the odds of BD?

• Welcome to CV. Have you searched our site for similar questions? You can find many posts about this topic here.
– whuber
Mar 7 at 19:56
• Show the results of summary(gl1) and provide the codebook's definition of GE: what units or thresholds are used? Also verify if the OR is on the natural scale or log scale. Mar 7 at 20:13

It may help to read more about how odds work. A place to start might be: Interpretation of simple predictions to odds ratios in logistic regression.

To answer your specific question, $$0.99$$ is a negative relationship. Every time you increase gestational age by $$1$$ unit (week?) the odds of having a brain disease is multiplied by $$0.99$$. That's less than $$1.0$$, so the odds are decreasing. To illustrate, let's imagine the odds of brain disease for babies born at $$30$$ weeks is $$1.0$$. Now, let's see what happens to the odds of brain disease as babies are born later (less early):

      week  odds(BD)
[1,]   30 1.0000000
[2,]   31 0.9900000
[3,]   32 0.9801000
[4,]   33 0.9702990
[5,]   34 0.9605960
[6,]   35 0.9509900
[7,]   36 0.9414801
[8,]   37 0.9320653
[9,]   38 0.9227447
[10,]   39 0.9135172
[11,]   40 0.9043821


The odds are in fact decreasing.

• Thank you! That made sense! Mar 8 at 10:30
• You're welcome, @SAphi11. Mar 8 at 12:12
• I have a second question that I have posted here stats.stackexchange.com/questions/608755/… if you have time to answer (ofc if you know the answer), I would really appreciate it! Thanks! Mar 8 at 13:24