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

Odds ratios on object 'averaging' from MuMIn #38

Closed tylerhoecker closed 4 years ago

tylerhoecker commented 4 years ago

Thanks for the very useful package! In my analysis I am using a model averaging approach, where I calculated average coefficient estimates from equally supported models using the model.avg from MuMIn. This function returns an object of the class "averaging". Is there a straight-forward way to adapt or_glm to work on this type of object?

I understand if this is beyond the scope of the package. If you feel this to be statistically inappropriate, an explanation of why would be helpful. To the best of my understanding, it would be reasonable to interpret ORs based on averaged coefficients as we interpret the averaged log-odds.