my data looks like this:
I have two groups of people - Students and the elderly.
59 out of 266 students said "YES" 23 out of 127 elderly people said "YES"
The rest said "no"
I am trying to find out where this difference in their answers is statistically significant.
My first way was chi square test that says they are different with a p lower than 0,05. However, my binomial logit with only one independent variable brings this result result of binomial logit, meaning that the difference is not significant.
What am I missing here?
Thanks!