Skip to content
Prev 6221 / 20628 Next

Problem with computing gr and false convergence

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 06/15/2011 01:14 PM, Iker Vaquero Alba wrote:
[snip]
I agree that this is a big pain.
  I was able to get it to work by dropping the 'site' random effect
(which has zero variance anyway, so doesn't affect the results much).

  I completely agree that from a distance none of this stuff seems to
have much logic to it.  I believe (but this belief is admittedly
faith-based, and not evidence-based in this case) that *if* one were to
spend a lot of time digging in the gory details of the shapes of the
objective functions and the precise workings of the optimization
algorithm that one could understand why this particular problem is being
problematic in this particular way.  It will be a *little* bit easier
if/when lme4a has the capability to do likelihood profiles on all
parameters of GLMMs (not yet).  In the meantime, it's back to trial and
error based on reasonable ways of simplifying the problem.

  I have a bigger question about your modeling strategy, though, which
is: why are you trying to remove this parameter?  In order to test its
significance against the full model?  In general, if you're going to
follow the approach of estimating significance of individual
predictors/parameters by LRT, you should *not* reduce the model from the
fullest version that works first (i.e., don't throw out non-significant
predictors before testing for significance among the remaining
predictors).  Something like drop1(g1,test="Chisq") or
drop1(g2,test="Chisq") [see below for def. of g2] or drop1(g2) [which
gives AIC rather than Chisq/LRT significance values] is the right way to
proceed if you want to test hypotheses about the predictors ...

g2 <-
glmer(nhatch~sex+mod+briventral+brithr+tlength+cond+year+(1|site:pair),
      data=X,family=poisson)
s.g2.15<-update(g2,~.-sex-tlength-cond)
update(s.g2.15,~.-briventral,verbose=TRUE)

  good luck
    Ben Bolker
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3481UACgkQc5UpGjwzenPvPACdHYwQKw7nQOYjvFyvPTSE7VAx
AKQAn1EzhBN0fsOIY6mPy8XURt5ncNAc
=ZMdm
-----END PGP SIGNATURE-----