Displaying 3 results from an estimated 3 matches for "nbinom1".
Did you mean:
nbinom
2017 Sep 14
2
using phia with glmmTMB
...mTMB, but when i try to
use the interactionMeans command, i get the below error
modelrepeatedmain2 <- glmmTMB(counts ~
cluster*nominated*nominator*junior_senior+Ltime+
(1|school)+(1|id),
data=d_shortf,
family=nbinom1)
interactionMeans(modelrepeatedmain2)
Error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x),
:
'data' must be of a vector type, was 'NULL'
I can get this to work with GLMER of course, but I love the speed of
glmmTMB.
Is there any way to get interactionMea...
2017 Sep 14
0
using phia with glmmTMB
...he interactionMeans command, i get the below error
>
> modelrepeatedmain2 <- glmmTMB(counts ~
> cluster*nominated*nominator*junior_senior+Ltime+
> (1|school)+(1|id),
> data=d_shortf,
> family=nbinom1)
>
> interactionMeans(modelrepeatedmain2)
>
> Error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x),
> :
> 'data' must be of a vector type, was 'NULL'
>
>
> I can get this to work with GLMER of course, but I love the speed of
> gl...
2018 Feb 26
0
How to model repeated measures negative binomial data with GEE or GLMM
...ch. I tried running GLMMs with package glmmTMB, but I am not sure I
specified the random effect correctly (am I properly accounting for the
repeated measures within AND between years?):
m2 <- glmmTMB(Diract ~ DirPar*RecPar + offset(LnScan) + Year + (1|ID),
data=Direct, family=list(family="nbinom1",link="log"))
I further tried to specify a compound symmetry covariance structure with
glmmTMB, but this failed:
m2a <- glmmTMB(Diract ~ DirPar*RecPar + offset(LnScan) + Year + cs(1|ID),
data=Direct,family=list(family="nbinom1",link="log"))
Warning message...