# A Testing if probability is the same for two groups

1. May 31, 2017

### FallenApple

Ok, so in a logistic regression context, I need to test if the probability of $Y_{i}=1$ is the same for two different groups at different ages where age is a continuous variable.

This is actually complicated because of nonlinearity. Can I default to testing if the odds of $Y_{i}=1$ is the same for both groups?

Or there is no one to one correspondence between the probability and odds?

2. Jun 1, 2017

### andrewkirk

Can you state more clearly exactly what test you want to do? It is not clear from this description.