Re: [R] zero-inflated negative binomial model with random effects

2014-01-04 Thread Ben Bolker
Santiago Guallar yahoo.com> writes: > > Hi, > I'd like to incorporate a random intercept in a > zero-inflated negative binomial model. Package pscl is > great but does not allow random effects, and package > MCMCglmm doesn't support the negative binomial. I'm > aware that package glmmADMB supp

[R] zero-inflated negative binomial model with random effects

2014-01-04 Thread Santiago Guallar
Hi, I'd like to incorporate a random intercept in a zero-inflated negative binomial model. Package pscl is great but does not allow random effects, and package MCMCglmm doesn't support the negative binomial. I'm aware that package glmmADMB supported both random effects and the negative binomial

Re: [R] Zero-Inflated Negative Binomial Regression

2013-06-04 Thread Achim Zeileis
On Tue, 4 Jun 2013, Carly Bobak wrote: Hi! I'm running a zero-inflated negative binomial regression on a large (n=54822) set of confidential data. I'm using the code: ZerNegBinRegress<-zeroinfl(Paper~.|., data=OvsP, dist="negbin", EM=TRUE) And keep getting the error: Warning message: glm.fit

[R] Zero-Inflated Negative Binomial Regression

2013-06-04 Thread Carly Bobak
Hi! I'm running a zero-inflated negative binomial regression on a large (n=54822) set of confidential data. I'm using the code: ZerNegBinRegress<-zeroinfl(Paper~.|., data=OvsP, dist="negbin", EM=TRUE) And keep getting the error: Warning message: glm.fit: fitted probabilities numerically 0 or

Re: [R] Zero-inflated Negative Binomial Error

2011-12-27 Thread Achim Zeileis
As Ben pointed out, this is not reproducible. My guess is that the offending sample is degenerate in some way, e.g., there are no observations in one of the six sites or no non-zero responses. hth, Z On Mon, 26 Dec 2011, Melissa Aikens wrote: Hello, I am having a problem with the zero-infla

Re: [R] Zero-inflated Negative Binomial Error

2011-12-26 Thread Ben Bolker
Melissa Aikens virginia.edu> writes: > I am having a problem with the zero-inflated negative binomial (package > pscl). I have 6 sites with plant populations, and I am trying to model the > number of seeds produced as a function of their size and their site. [snip] > > Anyways, the code I ha

[R] Zero-inflated Negative Binomial Error

2011-12-26 Thread Melissa Aikens
Hello, I am having a problem with the zero-inflated negative binomial (package pscl). I have 6 sites with plant populations, and I am trying to model the number of seeds produced as a function of their size and their site. There are a lot of zero's because many of my plants get eaten before flow

Re: [R] Zero inflated negative binomial

2010-03-03 Thread Achim Zeileis
On Thu, 4 Mar 2010, Rebecca Lawrence wrote: Hi all, I am running the following model: glm89.nb <- glm.nb(AvGUD ~ Year*Trt*Micro) where Year has 3 levels, Trt has 2 levels and Micro has 3 levels. However when I run it has a zero inflated negative binomial (as I have lots of zeros) I get the

[R] Zero inflated negative binomial

2010-03-03 Thread Rebecca Lawrence
Hi all, I am running the following model: > glm89.nb <- glm.nb(AvGUD ~ Year*Trt*Micro) where Year has 3 levels, Trt has 2 levels and Micro has 3 levels. However when I run it has a zero inflated negative binomial (as I have lots of zeros) I get the below error message: > Zinb <- zeroinfl(AvGU