pymer4 icon indicating copy to clipboard operation
pymer4 copied to clipboard

Access parameter `nAGQ` of `glmer`

Open Gattocrucco opened this issue 3 years ago • 3 comments

I need to set the parameter nAGQ of glmer. It sets the number of points used to estimate the integral giving the likelihood. I think I will manage to do it manually, but it would be nice to have a parameter in Lmer.fit.

Gattocrucco avatar Jan 31 '22 00:01 Gattocrucco

Thanks I can look into adding this in the future

ejolly avatar Jan 31 '22 19:01 ejolly

https://www.rdocumentation.org/packages/lme4/versions/1.1-27.1/topics/glmer

ejolly avatar Jan 31 '22 19:01 ejolly

I modified Lmer.fit to pass **kwargs to lmer.glmer. It works since nAGQ is just an integer.

Gattocrucco avatar Feb 02 '22 11:02 Gattocrucco