[R] GAM and Poisson distribution

sallyr sroman at umassd.edu
Fri Nov 14 22:29:26 CET 2008


Hi -I'm running a GAM with 7 explanatory variables with a Poisson error
structure.  All of the variables are continuous so I'm getting error
messages in R.  

cod.fall.full.gam.model<-gam(Kept.CPUE~s(HOUR)+s(LAT_dec)+s(LONG_dec)+s(meantemp_C)+s(meandepth_fa)+s(change_depth)+s(seds),
data=cod.fall.version2,family=poisson)

In dpois(y, mu, log = TRUE) ... : non-integer x = 5.325517

Thanks Sally
-- 
View this message in context: http://www.nabble.com/GAM-and-Poisson-distribution-tp20508604p20508604.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list