Skip to content
Prev 6207 / 20628 Next

Problem with computing gr and false convergence

On 06/14/2011 02:57 PM, Iker Vaquero Alba wrote:
cond:sex+cond:mod+(1|site/pair)+(1|year),family=poisson,na.action=na.omit,verbose=TRUE)
Very  hard to say without a reproducible example.  Can you post the
data somewhere?

  How big is your data set?

  If any of your variables are continuous, consider centering and
scaling them (e.g. using scale())


  Other than that, I only have a couple of coding style suggestions.

1. I *think* but am not sure that your very long model above is
equivalent to

(briventral+brithr+tlength+cond+sex+mod)^2-mod:sex

(all main effects + all pairwise interactions except mod:sex) but you
should of course check that (and the order might not be the same as the
model you have above).

2.  It is best to use the 'data' argument to specify a data frame
(rather than attach()ing or having the variables floating around in the
workspace)