Re: [R-sig-eco] Error message in GAM

2011-05-18 Thread Gavin Simpson
On Wed, 2011-05-18 at 17:16 -0500, ARISTIDES LOPEZ wrote: > Dear Dr. Gavin, > > Thank you very much for your help. All my data are unique (because I have 56 > different stations). As you suggest I restrict the > complexity of the individual smooths: > > response ~ s(Lat, k = 9) + s(Long, k = 9) +

Re: [R-sig-eco] Error message in GAM

2011-05-18 Thread Ben Bolker
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/18/2011 06:16 PM, ARISTIDES LOPEZ wrote: > Dear Dr. Gavin, > > Thank you very much for your help. All my data are unique (because I have 56 > different stations). As you suggest I restrict the > complexity of the individual smooths: > > respons

Re: [R-sig-eco] Error message in GAM

2011-05-18 Thread ARISTIDES LOPEZ
Dear Dr. Gavin, Thank you very much for your help. All my data are unique (because I have 56 different stations). As you suggest I restrict the complexity of the individual smooths: response ~ s(Lat, k = 9) + s(Long, k = 9) + s(deep, k = 9) Problem solved. Now I try to make other model: model

Re: [R-sig-eco] Error message in GAM

2011-05-18 Thread Gavin Simpson
On Wed, 2011-05-18 at 10:53 -0500, ARISTIDES LOPEZ wrote: > Dear members list, > > I'm trying to make a model for descrive the distribution of demersal fishes > in the Colombian Caribbean Sea. I have a data set of n= 56, the model is > like this: Density (ind/km2) ~ s(Lat) + s(Long) + s(deep). The

[R-sig-eco] Error message in GAM

2011-05-18 Thread ARISTIDES LOPEZ
Dear members list, I'm trying to make a model for descrive the distribution of demersal fishes in the Colombian Caribbean Sea. I have a data set of n= 56, the model is like this: Density (ind/km2) ~ s(Lat) + s(Long) + s(deep). The problem is that R give me the error message *"Model has more coeffi