hanchenphd / GMMAT

Generalized linear Mixed Model Association Tests
Other
36 stars 22 forks source link

ANOVA between 2 glmkin models #14

Closed TeaByrd closed 3 years ago

TeaByrd commented 4 years ago

Hey guys,

I'm wondering if it's possible to do an ANOVA between two glmkin models in this package? Or relatively straight forward with another package that can handle the GMMAT models?

My two models only differ in the fact that model 2 was built with one additional independent variable. I want to test, if this additional variable has a significant contribution to the model.

Thanks in advance and best, Thomas

hanchenphd commented 4 years ago

Hi Thomas,

No, GMMAT does not report the actual likelihood because the GLMM is fitted using the penalized quasi-likelihood. In your case you can conduct a Wald test on that additional effect parameter, which is asymptotically equivalent to a likelihood ratio test.

Best, Han