pat-s / oddsratio

Simplified odds ratio calculation of binomial GAM/GLM models
https://pat-s.github.io/oddsratio
Other
32 stars 2 forks source link

or_glm for glm(family=poisson) model? #36

Closed landge closed 4 years ago

landge commented 5 years ago

Hi, thank you for this great package!

I was wondering if it is ok to use the or_glm function on a glm model of the poisson family? I've tried it and the results look ok, but I don't know if the package was desgined to accept glm(poisson) models.

Thanks for your help!

pat-s commented 4 years ago

As long as you estimate probabilities/odds, you should be fine. Haven't used poisson models myself in practice yet though.