Sally,
Is Kept.CPUE discrete valued? If it isn't then the poisson family won't like
it, and it would be better to use quasipoisson, if the variance proportional
to mean is the right assumption. (mgcv 1.5 includes a Tweedie family, which
would be an alternative, but it's not ready for release ye
sallyr wrote:
>
> 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_d
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.
3 matches
Mail list logo