[R] Beginner's question about vgam for zanegbinomial models

John Poulsen jpoulsen at zoo.ufl.edu
Fri Oct 3 17:04:56 CEST 2008


I am just starting to use the vgam() function in VGAM to try to fit 
zero-altered negative binomial models.  So far I have gotten some a test 
dataset to run, but can't seem to extract the log-likelihood.  That is, 
I am using summary(fit)@df.residual to extract the residual df's, but 
can't figure out how to do the same for the log-likelihood.  Any ideas?

Also, my model includes both smoothed covariates and factors.  I can get 
the effects for the factors, but am wondering if vgam() provides 
statistics and p-values for estimates of factors?  If so, how do I get them?

Thanks for your help, I realize these are "beginner" questions and 
appreciate your time and patience.


More information about the R-help mailing list