John Poulsen
2008-Oct-03 15:04 UTC
[R] Beginner's question about vgam for zanegbinomial models
Hello, 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. Cheers, John