[R] zeroinfl() or zicounts() error

2007-07-26 Thread Rachel Davidson
I'm trying to fit a zero-inflated poisson model using zeroinfl() from the pscl library. It works fine for most models I try, but when I include either of 2 covariates, I get an error. When I include "PopulationDensity", I get this error: Error in solve.default (as.matrix(fit$hessian)) :sys

[R] cv.glm error function

2007-07-20 Thread Rachel Davidson
I have a couple quick questions about the use of cv.glm for cross-validation. 1. If we have a Poisson GLM with counts Y~Poisson(mu) and ln(mu)=beta0+beta1*x1+..., is the prediction error (delta) that is output from cv.glm provided in terms of the counts (y) or the (mu)? 2. Can cv.glm be used for

[R] (no subject)

2006-10-24 Thread Rachel Davidson
Is it possible to fit a truncated Poisson or Negative Binomial regression model in R? If so, how? Thanks. __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/po