Skip to content
Prev 19343 / 20628 Next

glmer and nAGQ

Thanks again for your feedback. Much appreciated. With the canonical link in the Gamma model, once a neg infinity result is returned for the logLik (n=4 for my simulation data), increasing the value of nAGQ doesn't change that result and the warning message about the estimated variance-covariance matrix not being positive definite is constant also.

If I use the log link, there is a large increase (-678.1 to -5.6) in the LogLik in going from the default value of n=1 to n=2, but it then doesn't change for larger n values and the model results are stable.

So I assume then that the Gamma model with the canonical link cannot be fit to this data while with the log link one does get a robust result?

There was no detectable delay in the time to run the model with nAGQ = 25 versus the default value. Is that suspicious?

Peter



Sent with ProtonMail Secure Email.

??????? Original Message ???????
On Friday, June 18th, 2021 at 8:16 PM, Ben Bolker <bbolker at gmail.com> wrote:

            
Message-ID: <LNnAz-OD7BJ9VSGO8RarV2UtO6AP82-oxLiYGqm-CuqYzm5AL_3QN-De_mLduTYGSa49c3CIQmFx5Xp1ELtdx3zSG3zSyRGGE0qQNvf21dc=@protonmail.com>
In-Reply-To: <bda8afa0-0ee9-5b52-cc58-e865009661ba@gmail.com>