Timeline for R - multivariate glm, what to use as a p-value and odds ratio?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 19, 2019 at 18:59 | comment | added | EdM | @hanaaa there is a question whether you have adequately "controlled for" the effect of location with your particular model. The p-value reported for variant=yes assumes that the influence of variant on log-odds is independent of location. If that assumption is correct than you are correct. With such large baseline differences among locations, however, I would worry a lot about that assumption. You might need to consider a model with variant/location interactions. | |
| Feb 19, 2019 at 17:21 | comment | added | abana | Thank you for the informative answer. I’m still a bit uncertain about p-value here. I suppose the p-value for overall fit isn't what I was asked to find. For the p-values reported by the glm: I can understand that the p-values are reported for the difference of a coefficient from 0, but in terms of my real world application--Would it be correct then to say the glm p-value for variant=yes is reported for the association of the variant with disease, after removing/‘controlling for’ effect of location? Or would I need to do an additional test? | |
| Feb 16, 2019 at 23:36 | history | answered | EdM | CC BY-SA 4.0 |