[R] GAM hurdle models

From: John Poulsen <jpoulsen_at_zoo.ufl.edu>
Date: Thu, 05 Jun 2008 09:11:29 -0400


Hello,

I have been using mgcv to run GAM hurdle models, analyzing presence/absence data with GAM logistic regressions, and then analyzing the data conditional on presence (e.g. without samples with no zeros) with GAMs with a negative binomial distribution.

It occurs to me that using the negative binomial distribution on data with no zeros is not right, as the negative binomial allows zeros.

Does anyone know of a package that does negative binomial GAM hurdle models? Or is there another quick fix to overcome this problem (e.g. using quasipoisson)?

Thanks for your suggestions,
John



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Thu 05 Jun 2008 - 15:27:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 Jun 2008 - 16:30:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive