






Dear all!
          I have a question that needs help! In a zero-inflated model,  two explanatory variables are included to the count data, through the zeroinfl function, and the lrtest, I want to know the significance of each variable, but I don’t know how can I do this.
the full mode is 
m1<-zeroinfl (count~A*B|A*B, dist="negbin", link="logit", data=mydata)
How can I set another model that using the lrtest I can get the Chi-square, df, and P value of factor A ?
There is an example in the book (Mixed effects models and extensions in ecology with R), but I can't get the results in P284 (Like Year (X2 = 12.553, df = 2, p = 0.002), Area (X2 = 47.599, df = 3, p < 0.001)) .
Can anyone help me? Thanks very much and best wishes!
                                                                                                          Sincerely zhangshuang
 

 
 
	[[alternative HTML version deleted]]

