Skip to content

errors with hurdle negative binomial mixed effect models

2 messages · Ben Bolker, Marta Lomas

#
[forwarded to r-sig-mixed-models]


-------- Original Message --------
Subject: 	RE: [R] errors with hurdle negative binomial mixed effect models
Date: 	Fri, 9 Aug 2013 19:39:33 +0200
From: 	Marta Lomas <lomasvega at hotmail.com>
To: 	Ben Bolker <bbolker at gmail.com>
Please see the FAQ I sent you to for information about dealing with
interactions of categorical variables with incomplete coverage.
It is possible for a set of more than two variables to be multicollinear
(e.g. A+B+C=constant) even when no pair is perfectly correlated,
although I don't know if that's the case here ...

Ah! the summary is:
Year     Week    Count            Sward     GVG09          Cluster
 2013:510   1:102   Min.   : 0.000  0:  5     20,525:325      Min.:1.000
            2:102   1st Qu.: 0.000  1:169     28,125:100     1st Qu.:1.000
            3:102   Median : 0.000  2:160   34,775: 20         Median:4.000
            4:102   Mean   : 1.316  3:158   51,375: 5         Mean   :3.951
            5:102   3rd Qu.: 0.000  4: 18    74,2  : 55       3rd Qu.:6.000
                    Max.   :95.000           78    :5         Max.   :8.000

      GVG        SCluster
 Min.   :1.000     1:135
 1st Qu.:1.000    2: 85
 Median :1.000   3: 25
 Mean   :1.784    4: 35
 3rd Qu.:2.000    6:125
 Max.   :6.000    7: 95
                  8: 10


  I don't know exactly what's going on here, but you should look
at

with(SW_GVG,table(factor(GVG),Sward,Count>0))

I suspect you will find there are empty cells.

  Ben Bolker
subset(SW_GVG, :
http://www.R-project.org/posting-guide.html
3 days later