[R-sig-ME] A nAGQ=0 question for glmer()
Hedyeh Ahmadi
hedyeh@h @end|ng |rom u@c@edu
Thu Sep 9 20:55:33 CEST 2021
Thank you for the very helpful and informative reply.
Best,
Hedyeh Ahmadi, Ph.D.
Statistician
Keck School of Medicine
Department of Preventive Medicine
University of Southern California
LinkedIn
www.linkedin.com/in/hedyeh-ahmadi<http://www.linkedin.com/in/hedyeh-ahmadi>
<http://www.linkedin.com/in/hedyeh-ahmadi><http://www.linkedin.com/in/hedyeh-ahmadi>
________________________________
From: R-sig-mixed-models <r-sig-mixed-models-bounces using r-project.org> on behalf of Ben Bolker <bbolker using gmail.com>
Sent: Wednesday, September 8, 2021 10:13 AM
To: r-sig-mixed-models using r-project.org <r-sig-mixed-models using r-project.org>
Subject: Re: [R-sig-ME] A nAGQ=0 question for glmer()
On 9/8/21 12:24 PM, Hedyeh Ahmadi wrote:
> Hello all,
> I have the following two questions:
>
> 1. If one is using a glmer() model with the nAGQ=0 option, I was wondering if there is a way to see if the model has actually converged?
> 2. If the mentioned model runs with no error/warning , does that mean the model has converged?
>
The convergence diagnostics and messages don't differ between nAGQ=0
and nAGQ>0 (so, the answer to #2 is 'yes').
For a fitted model gm1, any problems with convergence will be
recorded in gm1 using modelinfo; specifically, see the $conv, $warnings, and
$message components ($conv has two elements, $opt (optimizer convergence
code) and $lme4 (warnings/non-convergence warnings from lme4).
$conv$opt should be 0, $conv$lme4 and $warnings should be length-zero.
For what it's worth, the best description of the
assumption/approximation that nAGQ=0 makes is in the TMB (!)
documentation: https://urldefense.com/v3/__https://kaskr.github.io/adcomp/_book/Appendix.html__;!!LIr3w8kk_Xxm!44evfEd0xtcywxRiBNnQdcP2AYFaDSBH7Ma3kTRxWglURfVN-HkONx701kwN8GQ$ ,
section 16.2
> Any help would be appreciated.
>
> Best,
>
> Hedyeh Ahmadi, Ph.D.
> Statistician
> Keck School of Medicine
> Department of Preventive Medicine
> University of Southern California
>
> LinkedIn
> https://urldefense.com/v3/__http://www.linkedin.com/in/hedyeh-ahmadi__;!!LIr3w8kk_Xxm!44evfEd0xtcywxRiBNnQdcP2AYFaDSBH7Ma3kTRxWglURfVN-HkONx70TMoCxp8$ <https://urldefense.com/v3/__http://www.linkedin.com/in/hedyeh-ahmadi__;!!LIr3w8kk_Xxm!44evfEd0xtcywxRiBNnQdcP2AYFaDSBH7Ma3kTRxWglURfVN-HkONx70TMoCxp8$ >
> <https://urldefense.com/v3/__http://www.linkedin.com/in/hedyeh-ahmadi__;!!LIr3w8kk_Xxm!44evfEd0xtcywxRiBNnQdcP2AYFaDSBH7Ma3kTRxWglURfVN-HkONx70TMoCxp8$ ><https://urldefense.com/v3/__http://www.linkedin.com/in/hedyeh-ahmadi__;!!LIr3w8kk_Xxm!44evfEd0xtcywxRiBNnQdcP2AYFaDSBH7Ma3kTRxWglURfVN-HkONx70TMoCxp8$ >
>
>
>
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-mixed-models using r-project.org mailing list
> https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models__;!!LIr3w8kk_Xxm!44evfEd0xtcywxRiBNnQdcP2AYFaDSBH7Ma3kTRxWglURfVN-HkONx70NW8rGaA$
>
--
Dr. Benjamin Bolker
Professor, Mathematics & Statistics and Biology, McMaster University
Director, School of Computational Science and Engineering
Graduate chair, Mathematics & Statistics
_______________________________________________
R-sig-mixed-models using r-project.org mailing list
https://urldefense.com/v3/__https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models__;!!LIr3w8kk_Xxm!44evfEd0xtcywxRiBNnQdcP2AYFaDSBH7Ma3kTRxWglURfVN-HkONx70NW8rGaA$
[[alternative HTML version deleted]]
More information about the R-sig-mixed-models
mailing list